lib/upnp/Compat: suppress -Wunused-but-set-parameter
This commit is contained in:
parent
a009e95afd
commit
8bd1b5228c
|
@ -24,6 +24,10 @@
|
|||
/* libupnp versions until 1.10.1 redefine "bool" and "true" */
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wkeyword-macro"
|
||||
|
||||
/* libupnp 1.8.4 uses a flawed kludge to suppress this warning in
|
||||
inline function __list_add_valid() */
|
||||
#pragma GCC diagnostic ignored "-Wunused-but-set-parameter"
|
||||
#endif
|
||||
|
||||
#include <upnp.h>
|
||||
|
|
Loading…
Reference in New Issue