IPA KDB MS-PAC: remove unused variable

This commit is contained in:
Jakub Hrozek
2013-07-23 15:07:52 +02:00
committed by Alexander Bokovoy
parent 85b8c747bb
commit 4a5cbde4bb

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 hostname[MAXHOSTNAMELEN + 1]; /* NOTE: this is 64, too little ? */
char *p; char *p;
int ret;
strncpy(hostname, ipactx->kdc_hostname, MAXHOSTNAMELEN); strncpy(hostname, ipactx->kdc_hostname, MAXHOSTNAMELEN);
/* May miss termination */ /* May miss termination */