diff options
author | Igor Mammedov | 2017-08-17 18:14:13 +0200 |
---|---|---|
committer | Peter Maydell | 2017-08-23 13:24:41 +0200 |
commit | d0a180131c6655487b47ea72e7da0a909a479a3c (patch) | |
tree | 49551e89c1d14c0c183f6ceac7201dd7bf9d2c6c /hw | |
parent | Merge remote-tracking branch 'remotes/dgibson/tags/ppc-for-2.10-20170823' int... (diff) | |
download | qemu-d0a180131c6655487b47ea72e7da0a909a479a3c.tar.gz qemu-d0a180131c6655487b47ea72e7da0a909a479a3c.tar.xz qemu-d0a180131c6655487b47ea72e7da0a909a479a3c.zip |
fix build failure in nbd_read_reply_entry()
travis builds fail at HEAD at rc3 master with
block/nbd-client.c: In function ‘nbd_read_reply_entry’:
block/nbd-client.c:110:8: error: ‘ret’ may be used uninitialized in this function [-Werror=uninitialized]
fix it by initializing 'ret' to 0
Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw')
0 files changed, 0 insertions, 0 deletions