diff options
author | Matthieu Patou <mat@matws.net> | 2013-07-30 16:07:56 -0700 |
---|---|---|
committer | Matthieu Patou <mat@matws.net> | 2013-08-06 21:21:41 -0700 |
commit | 530098440ee34b6fc23c2786b2df411978d15c97 (patch) | |
tree | 08a6e9278e6c2bb665f759a346bb7df136f44eb4 | |
parent | 0eb304d536f27bcb647d7f8c0e57d187b59c0caa (diff) | |
download | samba-530098440ee34b6fc23c2786b2df411978d15c97.tar.gz samba-530098440ee34b6fc23c2786b2df411978d15c97.tar.bz2 samba-530098440ee34b6fc23c2786b2df411978d15c97.zip |
torture: Quiet a warning about set but not used variable
Signed-off-by: Matthieu Patou <mat@matws.net>
Reviewed-By: Andrew Bartlett <abarlett@samba.org>
-rw-r--r-- | source4/torture/rpc/drsuapi.c | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/source4/torture/rpc/drsuapi.c b/source4/torture/rpc/drsuapi.c index 46f9505ef2..1d535acafb 100644 --- a/source4/torture/rpc/drsuapi.c +++ b/source4/torture/rpc/drsuapi.c @@ -850,7 +850,6 @@ void torture_rpc_drsuapi_tcase(struct torture_suite *suite) { typedef bool (*run_func) (struct torture_context *test, void *tcase_data); - struct torture_test *test; struct torture_tcase *tcase = torture_suite_add_tcase(suite, "drsuapi"); torture_tcase_set_fixture(tcase, torture_drsuapi_tcase_setup, @@ -860,17 +859,17 @@ void torture_rpc_drsuapi_tcase(struct torture_suite *suite) test = torture_tcase_add_simple_test(tcase, "QuerySitesByCost", (run_func)test_QuerySitesByCost); #endif - test = torture_tcase_add_simple_test(tcase, "DsGetDomainControllerInfo", (run_func)test_DsGetDomainControllerInfo); + torture_tcase_add_simple_test(tcase, "DsGetDomainControllerInfo", (run_func)test_DsGetDomainControllerInfo); - test = torture_tcase_add_simple_test(tcase, "DsCrackNames", (run_func)test_DsCrackNames); + torture_tcase_add_simple_test(tcase, "DsCrackNames", (run_func)test_DsCrackNames); - test = torture_tcase_add_simple_test(tcase, "DsWriteAccountSpn", (run_func)test_DsWriteAccountSpn); + torture_tcase_add_simple_test(tcase, "DsWriteAccountSpn", (run_func)test_DsWriteAccountSpn); - test = torture_tcase_add_simple_test(tcase, "DsReplicaGetInfo", (run_func)test_DsReplicaGetInfo); + torture_tcase_add_simple_test(tcase, "DsReplicaGetInfo", (run_func)test_DsReplicaGetInfo); - test = torture_tcase_add_simple_test(tcase, "DsReplicaSync", (run_func)test_DsReplicaSync); + torture_tcase_add_simple_test(tcase, "DsReplicaSync", (run_func)test_DsReplicaSync); - test = torture_tcase_add_simple_test(tcase, "DsReplicaUpdateRefs", (run_func)test_DsReplicaUpdateRefs); + torture_tcase_add_simple_test(tcase, "DsReplicaUpdateRefs", (run_func)test_DsReplicaUpdateRefs); - test = torture_tcase_add_simple_test(tcase, "DsGetNCChanges", (run_func)test_DsGetNCChanges); + torture_tcase_add_simple_test(tcase, "DsGetNCChanges", (run_func)test_DsGetNCChanges); } |