]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - netconn.c
fix another warning
[xonotic/darkplaces.git] / netconn.c
index b27a4d8b8b60c6fc100e6a899297eb4ee1b490e6..46e4e43601af0f02ca1655de0f7550cefad4e988 100755 (executable)
--- a/netconn.c
+++ b/netconn.c
@@ -1527,11 +1527,11 @@ static void NetConn_ClientParsePacket_ServerList_ParseDPList(lhnetaddress_t *sen
 
                        if (port != 0)
                        {
+#ifdef WHY_JUST_WHY
                                const char *ifname;
 
                                /// \TODO: make some basic checks of the IP address (broadcast, ...)
 
-#ifdef WHY_JUST_WHY
                                ifname = LHNETADDRESS_GetInterfaceName(senderaddress);
                                if (ifname != NULL)
                                {