Re: [Qemu-devel] [PATCH 20/20] block: Avoid compiler warning for w64

2012-04-15 Thread Stefan Weil
Am 15.04.2012 19:13, schrieb Blue Swirl: On Sun, Apr 15, 2012 at 14:13, Stefan Weil wrote: The MinGW-w64 compiler complains about a non-void function which does not return a value. This is not true, but we can help the compiler to see that by rewriting the code. Signed-off-by: Stefan Weil ---

Re: [Qemu-devel] [PATCH 20/20] block: Avoid compiler warning for w64

2012-04-15 Thread Blue Swirl
On Sun, Apr 15, 2012 at 14:13, Stefan Weil wrote: > The MinGW-w64 compiler complains about a non-void function > which does not return a value. > > This is not true, but we can help the compiler to > see that by rewriting the code. > > Signed-off-by: Stefan Weil > --- >  block/raw-win32.c |    6

[Qemu-devel] [PATCH 20/20] block: Avoid compiler warning for w64

2012-04-15 Thread Stefan Weil
The MinGW-w64 compiler complains about a non-void function which does not return a value. This is not true, but we can help the compiler to see that by rewriting the code. Signed-off-by: Stefan Weil --- block/raw-win32.c |6 ++ 1 files changed, 2 insertions(+), 4 deletions(-) diff --gi