block/iscsi: fix uninitialized variable
commitdebfb917a4f9c0784772c86f110f2bcd22e5a14f
authorPeter Wu <peter@lekensteyn.nl>
Tue, 23 Dec 2014 15:30:41 +0000 (23 16:30 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Sat, 3 Jan 2015 08:22:13 +0000 (3 09:22 +0100)
tree7e384f303b55d3d300c79ba8326901a2eea348f0
parentd13c0404092eb46e548754a47a808da1bb8d4fd0
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>
block/iscsi.c