]> xenbits.xensource.com Git - qemu-upstream-4.6-testing.git/commit
block/iscsi: fix uninitialized variable
authorPeter Wu <peter@lekensteyn.nl>
Tue, 23 Dec 2014 15:30:41 +0000 (16:30 +0100)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Tue, 24 Feb 2015 21:02:12 +0000 (15:02 -0600)
commit7d389a2138a3b31895cf40300d052eda71ef0722
tree5653f94286aa88e2b68adb09e283dbdbac67f970
parent2a020d29dff124003728d517c1896ed6f14a53d6
block/iscsi: fix uninitialized variable

'ret' was never initialized in the success path.

Signed-off-by: Peter Wu <peter@lekensteyn.nl>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
(cherry picked from commit debfb917a4f9c0784772c86f110f2bcd22e5a14f)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
block/iscsi.c