diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2013-09-11 20:02:29 +0200 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2013-09-12 19:09:01 +0200 |
commit | b4d70ebd571d24bdc268d4e9c2b4479055239d3e (patch) | |
tree | bd0bfa851256ba0afbd1637be05fc5a8ad02876d | |
parent | c4545b1e910857bc0dae7ce2ed6291d8bd1fc4f2 (diff) | |
download | sssd-b4d70ebd571d24bdc268d4e9c2b4479055239d3e.tar.gz sssd-b4d70ebd571d24bdc268d4e9c2b4479055239d3e.tar.bz2 sssd-b4d70ebd571d24bdc268d4e9c2b4479055239d3e.zip |
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.
-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) { |