diff options
-rw-r--r-- | src/tests/krb5_child-test.c | 4 |
1 files changed, 0 insertions, 4 deletions
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) { |