Skip to content
Snippets Groups Projects
Commit 3a1aba86 authored by Gary Williams's avatar Gary Williams
Browse files

put conditions on hp so we don't get unreferenced variable warning

parent f9ab18a5
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment