Fix warning about uninitialized variable accepted/tizen_5.0_unified accepted/tizen_5.5_unified accepted/tizen_5.5_unified_mobile_hotfix accepted/tizen_5.5_unified_wearable_hotfix tizen_5.0 tizen_5.5 tizen_5.5_mobile_hotfix tizen_5.5_tv tizen_5.5_wearable_hotfix accepted/tizen/5.0/unified/20181102.025233 accepted/tizen/5.5/unified/20191031.010000 accepted/tizen/5.5/unified/mobile/hotfix/20201027.063144 accepted/tizen/5.5/unified/wearable/hotfix/20201027.103032 accepted/tizen/unified/20180607.081828 submit/tizen/20180528.125028 submit/tizen/20180607.002334 submit/tizen_5.0/20181101.000006 submit/tizen_5.5/20191031.000006 submit/tizen_5.5_mobile_hotfix/20201026.185106 submit/tizen_5.5_wearable_hotfix/20201026.184306 tizen_5.5.m2_release
authorMateusz Moscicki <m.moscicki2@partner.samsung.com>
Wed, 23 May 2018 09:36:59 +0000 (11:36 +0200)
committerKarol Lewandowski <k.lewandowsk@samsung.com>
Thu, 24 May 2018 10:02:41 +0000 (12:02 +0200)
Change-Id: Ic2798753590ba26b4f01c94a0d3ba44d8888a652

check/main.c

index c4a1801..1f0233f 100644 (file)
@@ -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;