From 87b652104b8bd99a6a5a12cb511bb32263af331e Mon Sep 17 00:00:00 2001 From: Stephane Bortzmeyer Date: Mon, 12 Mar 2007 11:23:00 +0000 Subject: [PATCH] Suppress a small compilation warning when not using IDN --- SRC/echoping.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/SRC/echoping.c b/SRC/echoping.c index 94eece8..ad6ec58 100644 --- a/SRC/echoping.c +++ b/SRC/echoping.c @@ -49,7 +49,10 @@ main(argc, argv) char **leftover; int sockfd = -1; - struct addrinfo hints, hints_numeric, *res; + struct addrinfo hints, *res; +#ifdef LIBIDN + struct addrinfo hints_numeric; +#endif int error; char hbuf[NI_MAXHOST], pbuf[NI_MAXSERV]; #ifdef NI_WITHSCOPEID