miniupnpc: Fix compile warning: unused parameter
miniupnpc.c: In function ‘upnpDiscoverDevices’: miniupnpc.c:270:34: warning: unused parameter ‘minissdpdsock’ [-Wunused-parameter] const char * minissdpdsock, int localport, ~~~~~~~~~~~~~^~~~~~~~~~~~~
This commit is contained in:
parent
36cc66edda
commit
e768e1555e
|
@ -320,6 +320,8 @@ upnpDiscoverDevices(const char * const deviceTypes[],
|
|||
return devlist;
|
||||
}
|
||||
}
|
||||
#else /* !defined(_WIN32) && !defined(__amigaos__) && !defined(__amigaos4__) */
|
||||
(void)minissdpdsock; /* unused */
|
||||
#endif /* !defined(_WIN32) && !defined(__amigaos__) && !defined(__amigaos4__) */
|
||||
|
||||
/* direct discovery if minissdpd responses are not sufficient */
|
||||
|
|
Loading…
Reference in New Issue