Commit b6f29bef authored by Yang Tse's avatar Yang Tse
Browse files

fix compiler warning: defined but not used

parent 6abbbaad
Loading
Loading
Loading
Loading
+1 −6
Original line number Diff line number Diff line
@@ -987,12 +987,7 @@ int main(int argc, char *argv[])
  }

  logmsg("Running IPv%d version on port %hu",
#ifdef ENABLE_IPV6
         (use_ipv6?6:4)
#else
         4
#endif
         , port );
         (use_ipv6?6:4), port);

  /* start accepting connections */
  rc = listen(sock, 5);
+1 −6
Original line number Diff line number Diff line
@@ -516,12 +516,7 @@ int main(int argc, char **argv)
  }

  logmsg("Running IPv%d version on port UDP/%hu",
#ifdef ENABLE_IPV6
         (use_ipv6?6:4)
#else
         4
#endif
         , port );
         (use_ipv6?6:4), port);

  do {
    fromlen = sizeof(from);