Skip to content
Commit 45eb6fb6 authored by Eric Blake's avatar Eric Blake Committed by Peter Maydell
Browse files

nbd/server: Silence gcc false positive



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: default avatarEric Blake <eblake@redhat.com>
Reviewed-by: default avatarPeter Maydell <peter.maydell@linaro.org>
Message-id: 20180622125814.345274-1-eblake@redhat.com
Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
parent c74b91ac
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment