IPA KDB MS-PAC: remove unused variable

This commit is contained in:
Jakub Hrozek authored and Alexander Bokovoy committed 2013-07-23 16:25:26 +03:00
1 parent 85b8c747bb
commit 4a5cbde4bb
1 file changed
-1
-1
View File
@@ -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 */