Skip to content

Commit

Permalink
btrfs: fix uninit variable warning
Browse files Browse the repository at this point in the history
fs/btrfs/send.c:2926: warning: ‘entry’ may be used uninitialized in this
function

Signed-off-by: Chris Mason <clm@fb.com>
  • Loading branch information
masoncl committed Mar 21, 2014
1 parent 4485386 commit 73b802f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/btrfs/send.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 73b802f

Please sign in to comment.