]> git.ipfire.org Git - thirdparty/libcgroup.git/commit
gunit/015: fix unused variable warning
authorKamalesh Babulal <kamalesh.babulal@oracle.com>
Fri, 29 Sep 2023 09:06:56 +0000 (14:36 +0530)
committerTom Hromatka <tom.hromatka@oracle.com>
Wed, 25 Oct 2023 20:20:14 +0000 (14:20 -0600)
commit4d971d27cef63cfed6b3571921cafcb99d8140c9
treea89c74189ac9c4b4ece7c9d710c46905fdf8dd2e
parent5ed0fe475c056ec918b9454d1cda21d8b373e0ca
gunit/015: fix unused variable warning

Fix unused variable warning:

015-cgroupv2_controller_enabled.cpp: In member function ‘void CgroupV2ControllerEnabled::InitMountTable()’:
015-cgroupv2_controller_enabled.cpp:69:7: warning: unused variable ‘ret’ [-Wunused-variable]
   int ret, i;
       ^~~

Signed-off-by: Kamalesh Babulal <kamalesh.babulal@oracle.com>
Signed-off-by: Tom Hromatka <tom.hromatka@oracle.com>
tests/gunit/015-cgroupv2_controller_enabled.cpp