From b4d70ebd571d24bdc268d4e9c2b4479055239d3e Mon Sep 17 00:00:00 2001 From: Jakub Hrozek Date: Wed, 11 Sep 2013 20:02:29 +0200 Subject: TESTS: Remove unused variable The tmpl variable was only ever used to default to FILE backend in case absolute patch w/o ccache type was selected. Since backends are no longer there, we can remove the variable, too. --- src/tests/krb5_child-test.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/tests') diff --git a/src/tests/krb5_child-test.c b/src/tests/krb5_child-test.c index d4a1f804..959b1bd6 100644 --- a/src/tests/krb5_child-test.c +++ b/src/tests/krb5_child-test.c @@ -200,7 +200,6 @@ create_dummy_req(TALLOC_CTX *mem_ctx, const char *user, struct passwd *pwd; bool private = false; errno_t ret; - const char *tmpl; /* The top level child request */ kr = talloc_zero(mem_ctx, struct krb5child_req); @@ -233,9 +232,6 @@ create_dummy_req(TALLOC_CTX *mem_ctx, const char *user, ret = dp_opt_set_string(kr->krb5_ctx->opts, KRB5_CCNAME_TMPL, ccname_template); if (ret != EOK) goto fail; - tmpl = ccname_template; - } else { - tmpl = dp_opt_get_cstring(kr->krb5_ctx->opts, KRB5_CCNAME_TMPL); } if (timeout) { -- cgit