Problem: Compiler warning for value set but not used.
Solution: Move variable inside #ifdef.
for (addr = res; addr != NULL; addr = addr->ai_next)
{
const char *dst = hostname;
- const void *src = NULL;
# ifdef HAVE_INET_NTOP
+ const void *src = NULL;
char buf[NUMBUFLEN];
-# endif
if (addr->ai_family == AF_INET6)
{
sai->sin_port = htons(port);
src = &sai->sin_addr;
}
-# ifdef HAVE_INET_NTOP
if (src != NULL)
{
dst = inet_ntop(addr->ai_family, src, buf, sizeof(buf));
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 837,
/**/
836,
/**/