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:
parent
50da19addf
commit
1391b2d7dc
2 changed files with 3 additions and 0 deletions
|
|
@ -43,4 +43,6 @@ typedef int bool;
|
|||
typedef int socklen_t;
|
||||
#endif
|
||||
|
||||
#define UNUSED(n) (void)(n);
|
||||
|
||||
#endif /* __TINC_SYSTEM_H__ */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue