Whamcloud - gitweb
libquota: clean up some gcc -Wall warnings
authorTheodore Ts'o <tytso@mit.edu>
Tue, 4 Oct 2011 15:20:50 +0000 (11:20 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 4 Oct 2011 15:37:46 +0000 (11:37 -0400)
commitedbfd75d8fb4a13eccc2cadb12a453c3425d17d1
tree97102c31509f2b764e07c958ee2d39d9d6e4119a
parentdba14293d97e61dfbeb0f2ad672ac1f3f4eb2157
libquota: clean up some gcc -Wall warnings

Remove unused variables, places where 'return' was used with no value
in a non-void function, missing function declarations, etc.  Don't
assume that all systems have quotactl(), and use <sys/quota.h> if it
exists to define the quotactl interfaces.

One of the unused variables also got rid of a non-portable use of
PATH_MAX.

Cc: Aditya Kali <adityakali@google.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
configure
configure.in
lib/config.h.in
lib/ext2fs/ext2fs.h
lib/quota/mkquota.c
lib/quota/quota.h
lib/quota/quotaio.c
lib/quota/quotaio.h
lib/quota/quotaio_v2.c