diff options
author | Chris Mason <clm@fb.com> | 2014-03-21 15:30:44 -0700 |
---|---|---|
committer | Chris Mason <clm@fb.com> | 2014-03-21 15:30:44 -0700 |
commit | 73b802f44747e824f6efe273903149ede9ddf741 (patch) | |
tree | 629f081f8a9d636999f4ec578268ec5486e2c1b4 /fs/btrfs | |
parent | 4485386853454f184235c8a973b29fa7fa522eb1 (diff) |
btrfs: fix uninit variable warning
fs/btrfs/send.c:2926: warning: ‘entry’ may be used uninitialized in this
function
Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'fs/btrfs')
-rw-r--r-- | fs/btrfs/send.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/send.c b/fs/btrfs/send.c index 143fed3f458..9b6da9d55f9 100644 --- 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; |