diff options
author | Markus Uhlin <markus@nifty-networks.net> | 2024-04-02 00:46:07 +0200 |
---|---|---|
committer | Markus Uhlin <markus@nifty-networks.net> | 2024-04-02 00:46:07 +0200 |
commit | e0efbda80aff6591c753fa930a6dc6a4a89e94c9 (patch) | |
tree | b33725d583aff68ff469be313ee89190b1cae09a | |
parent | b99a8011001ef3a8f6019d48b294b10a20921f12 (diff) |
Added UNUSED_PARAM() and UNUSED_VAR()
-rw-r--r-- | FICS/common.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/FICS/common.h b/FICS/common.h index 8652d9f..c6b375a 100644 --- a/FICS/common.h +++ b/FICS/common.h @@ -48,6 +48,9 @@ #define PRINTFLIKE(arg_no) #endif +#define UNUSED_PARAM(p) ((void) (p)) +#define UNUSED_VAR(v) ((void) (v)) + #ifdef DEBUG #define ASSERT(expression) \ ((void) ((expression)||_assert_error(__FILE__, __LINE__))) |