Fix warning about uninitialized variable
[platform/upstream/btrfs-progs.git] / 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;