]> Git Repo - qemu.git/commit
nbd: fix uninitialized variable warning
authorPan Nengyuan <[email protected]>
Wed, 8 Jan 2020 02:51:32 +0000 (10:51 +0800)
committerLaurent Vivier <[email protected]>
Wed, 8 Jan 2020 15:08:17 +0000 (16:08 +0100)
commitbdf200a55357296dab095348a86f758f749aeef1
treef9668c3d70946009767f379db1b2b1545814306c
parent638be47830ec77faf02dad650e4b9d266997067d
nbd: fix uninitialized variable warning

Fixes:
/mnt/sdb/qemu/nbd/server.c: In function 'nbd_handle_request':
/mnt/sdb/qemu/nbd/server.c:2313:9: error: 'ret' may be used uninitialized in this function [-Werror=maybe-uninitialized]
     int ret;

Reported-by: Euler Robot <[email protected]>
Signed-off-by: Pan Nengyuan <[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
Reviewed-by: Laurent Vivier <[email protected]>
Message-Id: <20200108025132[email protected]>
Signed-off-by: Laurent Vivier <[email protected]>
nbd/server.c
This page took 0.025297 seconds and 4 git commands to generate.