Skip to content
Commit 8804f57b authored by Stefan Weil's avatar Stefan Weil Committed by Alexander Graf
Browse files

spapr_vscsi: Set uninitialized variable



cppcheck reports this error:

hw/spapr_vscsi.c:274: error: Uninitialized variable: rc

If llen == 0, rc was indeed used without being initialized.

Signed-off-by: default avatarStefan Weil <weil@mail.berlios.de>
Signed-off-by: default avatarAlexander Graf <agraf@suse.de>
parent 64a4d100
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment