mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-18 11:05:48 +08:00
put conditions on hp so we don't get unreferenced variable warning
This commit is contained in:
parent
f9ab18a57b
commit
3a1aba86ab
@ -268,8 +268,10 @@ slapd_daemon_task(
|
||||
fd_set writefds;
|
||||
|
||||
struct sockaddr_in from;
|
||||
struct hostent *hp;
|
||||
struct timeval zero;
|
||||
#if defined(SLAPD_RLOOKUPS) || defined(HAVE_TCPD)
|
||||
struct hostent *hp;
|
||||
#endif
|
||||
struct timeval zero;
|
||||
struct timeval *tvp;
|
||||
|
||||
char *client_name;
|
||||
|
Loading…
Reference in New Issue
Block a user