]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
fix another warning
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 6 Oct 2010 11:20:45 +0000 (11:20 +0000)
committerRudolf Polzer <divverent@alientrap.org>
Wed, 6 Oct 2010 11:25:07 +0000 (13:25 +0200)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10516 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=939c572d67d451f33a977ab1ed1cb937e6c558c2

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)
                                {