source4/torture: Avoid unused variable
commit7471afaa1ffcf8291c7d13cf41eec451dde37a42
authorMartin Schwenke <martin@meltin.net>
Tue, 15 Feb 2022 21:50:24 +0000 (16 08:50 +1100)
committerVolker Lendecke <vl@samba.org>
Thu, 17 Feb 2022 18:12:52 +0000 (17 18:12 +0000)
tree5e7d51630095955df0de02aaef607620eefd7ae7
parentad9a414147aa8699a84d930fb322b2a6b4f32e78
source4/torture: Avoid unused variable

clang complains:

../../source4/torture/basic/delete.c:2342:7: error: variable 'correct' set but not used [-Werror,-Wunused-but-set-variable]
        bool correct = true;
             ^

That is, the variable is initialised and updated but the value is
never used.  Similar functions return this variable, so try that.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Volker Lendecke <vl@samba.org>
source4/torture/basic/delete.c