Btrfs-progs: Fix trival compiler error in cmds-qgroup.c
authorGene Czarcinski <gene@czarc.net>
Sat, 26 Jan 2013 18:10:33 +0000 (13:10 -0500)
committerDavid Sterba <dsterba@suse.cz>
Mon, 28 Jan 2013 17:06:38 +0000 (18:06 +0100)
The compiler does not realize that usage() never returns.
Initializing the variable keeps it quiet.

Signed-off-by: Gene Czarcinski <gene@czarc.net>
cmds-qgroup.c

index 70019d0..3ac2e14 100644 (file)
@@ -338,7 +338,7 @@ static int cmd_qgroup_limit(int argc, char **argv)
        int ret = 0;
        int fd;
        int e;
-       char *path;
+       char *path = NULL;
        struct btrfs_ioctl_qgroup_limit_args args;
        unsigned long long size;
        int compressed = 0;