[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] nbd/server: Silence gcc false positive

From: Peter Maydell
Subject: Re: [Qemu-devel] [PATCH] nbd/server: Silence gcc false positive
Date: Fri, 22 Jun 2018 13:59:15 +0100

On 22 June 2018 at 13:58, Eric Blake <address@hidden> wrote:
> The code has a while() loop that always initialized 'end', and
> the loop always executes at least once (as evidenced by the assert()
> just prior to the loop).  But some versions of gcc still complain
> that 'end' is used uninitialized, so silence them.
> Signed-off-by: Eric Blake <address@hidden>
> ---
> Peter, do you want to apply this directly as a build fix, or shall
> I submit a pull request?

I'll just apply it directly.

Reviewed-by: Peter Maydell <address@hidden>

-- PMM

reply via email to

[Prev in Thread] Current Thread [Next in Thread]