Re: [Qemu-devel] [PATCH 3/3] block/stream.c: ensure copy always set

2013-09-25 Thread Stefan Hajnoczi
On Tue, Sep 24, 2013 at 03:27:49PM +0100, Alex Bennée wrote: > > stefa...@redhat.com writes: > > > On Mon, Sep 23, 2013 at 05:07:30PM +0100, alex.ben...@linaro.org wrote: > >> From: Alex Bennée > >> > >> This only showed up when compiling with > >> --enable-trace-backend=stderr|ftrace at which

Re: [Qemu-devel] [PATCH 3/3] block/stream.c: ensure copy always set

2013-09-24 Thread Alex Bennée
stefa...@redhat.com writes: > On Mon, Sep 23, 2013 at 05:07:30PM +0100, alex.ben...@linaro.org wrote: >> From: Alex Bennée >> >> This only showed up when compiling with >> --enable-trace-backend=stderr|ftrace at which point the compiler >> complains with the following: > > Stefan Weil already

Re: [Qemu-devel] [PATCH 3/3] block/stream.c: ensure copy always set

2013-09-24 Thread Stefan Hajnoczi
On Mon, Sep 23, 2013 at 05:07:30PM +0100, alex.ben...@linaro.org wrote: > From: Alex Bennée > > This only showed up when compiling with > --enable-trace-backend=stderr|ftrace at which point the compiler > complains with the following: > > block/stream.c: In function ‘stream_run’: > block/stream.

[Qemu-devel] [PATCH 3/3] block/stream.c: ensure copy always set

2013-09-23 Thread alex . bennee
From: Alex Bennée This only showed up when compiling with --enable-trace-backend=stderr|ftrace at which point the compiler complains with the following: block/stream.c: In function ‘stream_run’: block/stream.c:141:22: error: ‘copy’ may be used uninitialized in this function [-Werror=uninitializ