]> git.ipfire.org Git - thirdparty/libvirt.git/commit
vircgroup: Remove unused variables in virCgroupV2Available
authorPeter Krempa <pkrempa@redhat.com>
Mon, 24 Oct 2022 11:41:34 +0000 (13:41 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 24 Oct 2022 11:41:34 +0000 (13:41 +0200)
commite49313b54ed2a149c71f9073659222742ff3ffb0
tree042ca9dab75fca4dda1f3d1682145c98d578107f
parenta0f37232b9c4296ca16955cc625f75eb848ace39
vircgroup: Remove unused variables in virCgroupV2Available

After recent commit 'contFile' and 'contStr' became unused breaking
build with clang:

../../../libvirt/src/util/vircgroupv2.c:72:26: error: unused variable 'contFile' [-Werror,-Wunused-variable]
        g_autofree char *contFile = NULL;
                         ^
../../../libvirt/src/util/vircgroupv2.c:73:26: error: unused variable 'contStr' [-Werror,-Wunused-variable]
        g_autofree char *contStr = NULL;
                         ^

Fixes: a0f37232b9c4296ca16955cc625f75eb848ace39
Signed-off-by: Peter Krempa <pkrempa@redhat.com>
src/util/vircgroupv2.c