diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2013-07-23 15:07:52 +0200 |
---|---|---|
committer | Alexander Bokovoy <abokovoy@redhat.com> | 2013-07-23 16:25:26 +0300 |
commit | 4a5cbde4bbec552416c74a86a74bc38f3147941b (patch) | |
tree | 19d48118cb16fba9c0678483fd0251cd8c145169 /daemons/ipa-kdb/ipa_kdb_mspac.c | |
parent | 85b8c747bb14bca8afc6b80ab27c3eda1f5e1c74 (diff) | |
download | freeipa.git-4a5cbde4bbec552416c74a86a74bc38f3147941b.tar.gz freeipa.git-4a5cbde4bbec552416c74a86a74bc38f3147941b.tar.xz freeipa.git-4a5cbde4bbec552416c74a86a74bc38f3147941b.zip |
IPA KDB MS-PAC: remove unused variable
Diffstat (limited to 'daemons/ipa-kdb/ipa_kdb_mspac.c')
-rw-r--r-- | daemons/ipa-kdb/ipa_kdb_mspac.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/daemons/ipa-kdb/ipa_kdb_mspac.c b/daemons/ipa-kdb/ipa_kdb_mspac.c index 5a43a37f..32e6ca36 100644 --- a/daemons/ipa-kdb/ipa_kdb_mspac.c +++ b/daemons/ipa-kdb/ipa_kdb_mspac.c @@ -1930,7 +1930,6 @@ static char *get_server_netbios_name(struct ipadb_context *ipactx) { char hostname[MAXHOSTNAMELEN + 1]; /* NOTE: this is 64, too little ? */ char *p; - int ret; strncpy(hostname, ipactx->kdc_hostname, MAXHOSTNAMELEN); /* May miss termination */ |