mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
IPA KDB MS-PAC: remove unused variable
This commit is contained in:
committed by
Alexander Bokovoy
parent
85b8c747bb
commit
4a5cbde4bb
@@ -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 */
|
||||||
|
|||||||
Reference in New Issue
Block a user