projects
/
platform
/
upstream
/
btrfs-progs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f04a61
)
Btrfs-progs: Fix trival compiler error in cmds-qgroup.c
author
Gene Czarcinski
<gene@czarc.net>
Sat, 26 Jan 2013 18:10:33 +0000
(13:10 -0500)
committer
David 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
patch
|
blob
|
history
diff --git
a/cmds-qgroup.c
b/cmds-qgroup.c
index
70019d0
..
3ac2e14
100644
(file)
--- 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;