projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4485386
)
btrfs: fix uninit variable warning
author
Chris Mason
<clm@fb.com>
Fri, 21 Mar 2014 22:30:44 +0000
(15:30 -0700)
committer
Chris Mason
<clm@fb.com>
Fri, 21 Mar 2014 22:30:44 +0000
(15:30 -0700)
fs/btrfs/send.c:2926: warning: ‘entry’ may be used uninitialized in this
function
Signed-off-by: Chris Mason <clm@fb.com>
fs/btrfs/send.c
patch
|
blob
|
history
diff --git
a/fs/btrfs/send.c
b/fs/btrfs/send.c
index 143fed3f4586d303df29f078690a60b07e97ab2c..9b6da9d55f9a8778c47cf64c15a143951fc2ccf7 100644
(file)
--- a/
fs/btrfs/send.c
+++ b/
fs/btrfs/send.c
@@
-2923,7
+2923,7
@@
static int add_pending_dir_move(struct send_ctx *sctx,
{
struct rb_node **p = &sctx->pending_dir_moves.rb_node;
struct rb_node *parent = NULL;
- struct pending_dir_move *entry, *pm;
+ struct pending_dir_move *entry
= NULL
, *pm;
struct recorded_ref *cur;
int exists = 0;
int ret;