From: Mateusz Moscicki Date: Wed, 23 May 2018 09:36:59 +0000 (+0200) Subject: Fix warning about uninitialized variable X-Git-Tag: accepted/tizen/5.0/unified/20181102.025233^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fheads%2Ftizen_5.0;p=platform%2Fupstream%2Fbtrfs-progs.git Fix warning about uninitialized variable Change-Id: Ic2798753590ba26b4f01c94a0d3ba44d8888a652 --- diff --git a/check/main.c b/check/main.c index c4a1801..1f0233f 100644 --- a/check/main.c +++ b/check/main.c @@ -8514,7 +8514,7 @@ static int reset_balance(struct btrfs_trans_handle *trans, struct btrfs_path path; struct extent_buffer *leaf; struct btrfs_key key; - int del_slot, del_nr = 0; + int del_slot = 0, del_nr = 0; int ret; int found = 0;