Commit 73b802f4 authored by Chris Mason's avatar Chris Mason

btrfs: fix uninit variable warning

fs/btrfs/send.c:2926: warning: ‘entry’ may be used uninitialized in this
function
Signed-off-by: default avatarChris Mason <clm@fb.com>
parent 44853868
...@@ -2923,7 +2923,7 @@ static int add_pending_dir_move(struct send_ctx *sctx, ...@@ -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 **p = &sctx->pending_dir_moves.rb_node;
struct rb_node *parent = NULL; struct rb_node *parent = NULL;
struct pending_dir_move *entry, *pm; struct pending_dir_move *entry = NULL, *pm;
struct recorded_ref *cur; struct recorded_ref *cur;
int exists = 0; int exists = 0;
int ret; int ret;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment