summaryrefslogtreecommitdiff
path: root/cmds-qgroup.c
diff options
context:
space:
mode:
authorGene Czarcinski <gene@czarc.net>2013-01-26 13:10:33 -0500
committerDavid Sterba <dsterba@suse.cz>2013-01-28 18:06:38 +0100
commit272c04915252c497c64fd4036b601b82c3368bbd (patch)
tree92bc0cee21d9bf238360a7103e5bb0049884edf9 /cmds-qgroup.c
parent7f04a61b6da5a1231454b07e3e37cc24601a76e4 (diff)
Btrfs-progs: Fix trival compiler error in cmds-qgroup.c
The compiler does not realize that usage() never returns. Initializing the variable keeps it quiet. Signed-off-by: Gene Czarcinski <gene@czarc.net>
Diffstat (limited to 'cmds-qgroup.c')
-rw-r--r--cmds-qgroup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmds-qgroup.c b/cmds-qgroup.c
index 70019d01..3ac2e14e 100644
--- a/cmds-qgroup.c
+++ b/cmds-qgroup.c
@@ -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;