Removed as it was declared and updated, but never read. This triggers the
clang 23 warning unused-but-set-global
Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Anoop C S <anoopcs@samba.org>
static int nconnections;
static int numstates;
-static int num_connected;
static int test_failed;
extern int torture_numops;
extern int torture_entries;
NT_STATUS_EQUAL(status, NT_STATUS_CONNECTION_RESET)) {
talloc_free(state->tree);
state->tree = NULL;
- num_connected--;
DEBUG(0,("lost connection\n"));
test_failed++;
}
state[i].client = i;
}
- num_connected = i;
if (!torture_setup_dir(cli, BASEDIR)) {
goto failed;