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>
This commit is contained in:
Chris Mason 2014-03-21 15:30:44 -07:00
parent 4485386853
commit 73b802f447
1 changed files with 1 additions and 1 deletions

View File

@ -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;