btrfs: avoid "used uninitialized" error with GCC7
authorAndrei Borzenkov <arvidjaar@gmail.com>
Tue, 4 Apr 2017 16:22:32 +0000 (19:22 +0300)
committerAndrei Borzenkov <arvidjaar@gmail.com>
Tue, 4 Apr 2017 16:22:32 +0000 (19:22 +0300)
commit6cef7f6079550af3bf91dbff824398eaef08c3c5
tree1fc8d678bdf087e70a345425e55e6871f7b92265
parentec4af117c6e16d0ef9b2792827c5dd619342f787
btrfs: avoid "used uninitialized" error with GCC7

sblock was local and so considered new variable on every loop
iteration.

Closes: 50597
grub-core/fs/btrfs.c