Re: [PATCH] btrfs-progs: image: fix compiler warning

2016-10-06 Thread Tsutomu Itoh
On 2016/10/07 1:00, David Sterba wrote: > On Wed, Oct 05, 2016 at 05:07:48PM +0900, Tsutomu Itoh wrote: >> In v4.8-rc1, gcc 5.3.1 gives following warning. Fixed it. >> >> [CC] btrfs-image.o >> btrfs-image.c: In function 'flush_pending': >> btrfs-image.c:708:17: warning: 'start' may be used

Re: [PATCH] btrfs-progs: image: fix compiler warning

2016-10-06 Thread David Sterba
On Wed, Oct 05, 2016 at 05:07:48PM +0900, Tsutomu Itoh wrote: > In v4.8-rc1, gcc 5.3.1 gives following warning. Fixed it. > > [CC] btrfs-image.o > btrfs-image.c: In function 'flush_pending': > btrfs-image.c:708:17: warning: 'start' may be used uninitialized in this > function [-Wmaybe-uni

[PATCH] btrfs-progs: image: fix compiler warning

2016-10-05 Thread Tsutomu Itoh
In v4.8-rc1, gcc 5.3.1 gives following warning. Fixed it. [CC] btrfs-image.o btrfs-image.c: In function 'flush_pending': btrfs-image.c:708:17: warning: 'start' may be used uninitialized in this function [-Wmaybe-uninitialized] header->bytenr = cpu_to_le64(start); ^ btrf