diff options
author | Matthieu Patou <mat@matws.net> | 2013-05-17 07:21:57 -0700 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2013-05-20 21:54:07 +1000 |
commit | 6c4cf59fba463943fa4dfb9afe0a217d8a2b0b23 (patch) | |
tree | 0beea91a2d72498edc834fb350e321c52bca8a8f /source4/torture/rpc | |
parent | d42a31d68f3154651f31618f74e2df77084f12f3 (diff) | |
download | samba-6c4cf59fba463943fa4dfb9afe0a217d8a2b0b23.tar.gz samba-6c4cf59fba463943fa4dfb9afe0a217d8a2b0b23.tar.bz2 samba-6c4cf59fba463943fa4dfb9afe0a217d8a2b0b23.zip |
smbtorture: fix a warning due to a set but unused var
Signed-off-by: Matthieu Patou <mat@matws.net>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4/torture/rpc')
-rw-r--r-- | source4/torture/rpc/drsuapi_cracknames.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source4/torture/rpc/drsuapi_cracknames.c b/source4/torture/rpc/drsuapi_cracknames.c index 82c9a38af4..d896db8a2b 100644 --- a/source4/torture/rpc/drsuapi_cracknames.c +++ b/source4/torture/rpc/drsuapi_cracknames.c @@ -1033,12 +1033,11 @@ void torture_rpc_drsuapi_cracknames_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, "cracknames"); torture_tcase_set_fixture(tcase, torture_drsuapi_cracknames_setup, torture_drsuapi_cracknames_teardown); - test = torture_tcase_add_simple_test(tcase, "cracknames-test", (run_func)test_DsCrackNames); + torture_tcase_add_simple_test(tcase, "cracknames-test", (run_func)test_DsCrackNames); } |