Added -Werror=unused-parameter

In system.h UNUSED() macro has been defined which can be used to mark unsed parameters.
This commit is contained in:
thorkill 2015-07-02 18:35:57 +02:00
parent 50da19addf
commit 1391b2d7dc
2 changed files with 3 additions and 0 deletions

View file

@ -43,4 +43,6 @@ typedef int bool;
typedef int socklen_t;
#endif
#define UNUSED(n) (void)(n);
#endif /* __TINC_SYSTEM_H__ */