]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virSecuritySELinuxContextListAppend: Remove unreachable cleanup
authorPeter Krempa <pkrempa@redhat.com>
Wed, 4 Aug 2021 09:13:10 +0000 (11:13 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Fri, 6 Aug 2021 06:53:26 +0000 (08:53 +0200)
commit4e7576a74168b3a0614bdf0463ea879455ac307d
tree8ae5b466091b0810491ddfde22ed26d88a371471
parent966ba852b7ed6b593e3f3c5711631329cde05050
virSecuritySELinuxContextListAppend: Remove unreachable cleanup

'item' is always NULLed-out by VIR_APPEND_ELEMENT and 'ret' variable is
always 0 when used so both can be removed.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/security/security_selinux.c