]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemuBlockDiskDetectNodes: just return when alias is null
authorYi Li <yili@winhong.com>
Thu, 18 Feb 2021 02:43:33 +0000 (10:43 +0800)
committerJán Tomko <jtomko@redhat.com>
Thu, 18 Feb 2021 07:35:08 +0000 (08:35 +0100)
commit21d83d37ffd18ae40be1ffb5da6acc1d95f4e875
treed6a5b2314aec39bb15eb696af8af68116efcf190
parent33ddfaf4e6f50c45d103063805dcdf6b70320daf
qemuBlockDiskDetectNodes: just return when alias is null

Just return when alias is null and Remove the 'ret' variable.

Signed-off-by: Yi Li <yili@winhong.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
Signed-off-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_block.c