summaryrefslogtreecommitdiffstats
path: root/daemons/ipa-kdb/ipa_kdb_mspac.c
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2013-07-23 15:07:52 +0200
committerAlexander Bokovoy <abokovoy@redhat.com>2013-07-23 16:25:26 +0300
commit4a5cbde4bbec552416c74a86a74bc38f3147941b (patch)
tree19d48118cb16fba9c0678483fd0251cd8c145169 /daemons/ipa-kdb/ipa_kdb_mspac.c
parent85b8c747bb14bca8afc6b80ab27c3eda1f5e1c74 (diff)
downloadfreeipa-4a5cbde4bbec552416c74a86a74bc38f3147941b.tar.gz
freeipa-4a5cbde4bbec552416c74a86a74bc38f3147941b.tar.xz
freeipa-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.c1
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 5a43a37fe..32e6ca365 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 */