summaryrefslogtreecommitdiff
path: root/source4/auth
diff options
context:
space:
mode:
authorNoel Power <noel.power@suse.com>2019-07-05 10:41:19 +0000
committerGary Lockyer <gary@samba.org>2019-07-24 04:19:27 +0000
commit6f733b5891db344ec9f3f996322213d8ac2075e5 (patch)
tree2ed2c222aaa604e529fdf7400f7106102ce7aa59 /source4/auth
parent765fc314e4aee455bae0f391a7d388584b48bb4a (diff)
downloadsamba-6f733b5891db344ec9f3f996322213d8ac2075e5.tar.gz
s4/auth/kerberos: clang: Fix Value stored to 'code' is never read
Fixes: source4/auth/kerberos/kerberos_util.c:645:3: warning: Value stored to 'code' is never read <--[clang] code = 0; ^ ~ 1 warning generated. Signed-off-by: Noel Power <noel.power@suse.com> Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
Diffstat (limited to 'source4/auth')
-rw-r--r--source4/auth/kerberos/kerberos_util.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/source4/auth/kerberos/kerberos_util.c b/source4/auth/kerberos/kerberos_util.c
index 50bf8feec96..bbb5c8791ca 100644
--- a/source4/auth/kerberos/kerberos_util.c
+++ b/source4/auth/kerberos/kerberos_util.c
@@ -642,7 +642,6 @@ krb5_error_code smb_krb5_remove_obsolete_keytab_entries(TALLOC_CTX *mem_ctx,
break;
case ENOENT:
case KRB5_KT_END:
- code = 0;
break;
default:
*error_string = talloc_asprintf(mem_ctx,