From e1344f74aaa19a397813494c3bf8417e2de2a5d0 Mon Sep 17 00:00:00 2001 From: Thomas Bernard Date: Wed, 16 Sep 2015 00:12:35 +0200 Subject: [PATCH] removed unused variable under win32 --- miniupnpc/miniupnpc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/miniupnpc/miniupnpc.c b/miniupnpc/miniupnpc.c index 26ce593..8cb1b8f 100644 --- a/miniupnpc/miniupnpc.c +++ b/miniupnpc/miniupnpc.c @@ -244,7 +244,9 @@ upnpDiscoverDevices(const char * const deviceTypes[], { struct UPNPDev * tmp; struct UPNPDev * devlist = 0; +#if !defined(_WIN32) && !defined(__amigaos__) && !defined(__amigaos4__) int deviceIndex; +#endif /* !defined(_WIN32) && !defined(__amigaos__) && !defined(__amigaos4__) */ if(error) *error = UPNPDISCOVER_UNKNOWN_ERROR;