mkfs.btrfs: Fix compilation errors with gcc 4.6
authorHugo Mills <hugo@carfax.org.uk>
Sun, 26 Jun 2011 18:41:18 +0000 (19:41 +0100)
committerChris Mason <chris.mason@oracle.com>
Tue, 25 Oct 2011 13:18:58 +0000 (09:18 -0400)
commitacee5809c1eac37a61ed926f70f4f262b6966108
tree58d90222ccfbfb21a3dacaa9a9d0909fa79ef384
parent796a0e9cc46a0d173a7bbcbeb792ca80f00bf19e
mkfs.btrfs: Fix compilation errors with gcc 4.6

gcc 4.6 complains about several possible use-before-initialise cases
in mkfs, and stops. Fix these by initialising one of the variables in
question, and using the correct error-handling paths for the
remainder.

Signed-off-by: Hugo Mills <hugo@carfax.org.uk>
mkfs.c