aboutsummaryrefslogtreecommitdiffstats
path: root/src/macros.h
diff options
context:
space:
mode:
authorLibravatar bigfoot547 <[email protected]>2023-11-24 04:58:20 -0600
committerLibravatar bigfoot547 <[email protected]>2023-11-24 04:58:20 -0600
commitcb32a721d811caf450f3c55cfb419559d84fa891 (patch)
tree4967bee504cfee63c94fe0b7e7e93566071ffbf0 /src/macros.h
parentadd some menu test code (diff)
not every UI window maps to a curses window
Diffstat (limited to 'src/macros.h')
-rw-r--r--src/macros.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/macros.h b/src/macros.h
index 8523a42..ef862d8 100644
--- a/src/macros.h
+++ b/src/macros.h
@@ -1,6 +1,8 @@
#ifndef UMPS_MACROS_H_INCLUDED
#define UMPS_MACROS_H_INCLUDED
+#define umps_unused(_v) ((void)(_v))
+
/* define handy macros (unreachable and trap) */
#ifdef __GNUC__ /* gcc and clang */