aboutsummaryrefslogtreecommitdiff
path: root/job-qmp.c
diff options
context:
space:
mode:
authorEric Blake <eblake@redhat.com>2018-06-22 07:58:14 -0500
committerPeter Maydell <peter.maydell@linaro.org>2018-06-22 14:18:36 +0100
commit45eb6fb6cea28cdc937764aac6585751047bb294 (patch)
tree6b14129f199ca6320466eb1af4558e8252e80ace /job-qmp.c
parentc74b91ac1c23e58e513203f112ab9b446e02b56c (diff)
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: Eric Blake <eblake@redhat.com> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Message-id: 20180622125814.345274-1-eblake@redhat.com Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'job-qmp.c')
0 files changed, 0 insertions, 0 deletions