aboutsummaryrefslogtreecommitdiffstats
path: root/FICS
diff options
context:
space:
mode:
authorMarkus Uhlin <markus@nifty-networks.net>2024-04-02 00:46:07 +0200
committerMarkus Uhlin <markus@nifty-networks.net>2024-04-02 00:46:07 +0200
commite0efbda80aff6591c753fa930a6dc6a4a89e94c9 (patch)
treeb33725d583aff68ff469be313ee89190b1cae09a /FICS
parentb99a8011001ef3a8f6019d48b294b10a20921f12 (diff)
Added UNUSED_PARAM() and UNUSED_VAR()
Diffstat (limited to 'FICS')
-rw-r--r--FICS/common.h3
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__)))