Whamcloud - gitweb
build: quiet some "gcc -Wall" compiler warnings
authorAndreas Dilger <adilger@dilger.ca>
Tue, 11 Sep 2012 22:15:20 +0000 (16:15 -0600)
committerAndreas Dilger <adilger@whamcloud.com>
Sat, 1 Dec 2012 19:47:13 +0000 (12:47 -0700)
commit4f9004b57da3dfc882249cf2a94d838a7885954c
treefcbdc401a28894a7f92358766dee382822562d87
parenta83ea18c859f3f3400c223c3a9c680effce017f9
build: quiet some "gcc -Wall" compiler warnings

Quiet a number of simple compiler warnings:
- pointers not initialized by ext2fs_get_mem()
- return without value in non-void function
- dereferencing type-punned pointers
- unused variables

Signed-off-by: Andreas Dilger <adilger@dilger.ca>
15 files changed:
e2fsck/message.c
e2fsck/problem.c
e2fsck/region.c
e2fsck/unix.c
e2fsck/util.c
lib/blkid/probe.c
lib/ext2fs/crc32c.c
lib/ext2fs/dblist.c
lib/ext2fs/qcow2.c
lib/ext2fs/rw_bitmaps.c
lib/ext2fs/tst_bitmaps.c
lib/quota/mkquota.c
lib/quota/quotaio.c
misc/filefrag.c
resize/resize2fs.c