summaryrefslogtreecommitdiffhomepage
path: root/compat/shm.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'compat/shm.cpp')
-rw-r--r--compat/shm.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/compat/shm.cpp b/compat/shm.cpp
index d30f6346..e513ccb0 100644
--- a/compat/shm.cpp
+++ b/compat/shm.cpp
@@ -19,7 +19,7 @@
# include <QDebug>
# define warn(...) (qDebug() << __VA_ARGS__)
#else
-# define warn(...)
+# define warn(...) (void)0
#endif
shm_wrapper::shm_wrapper(const char* shm_name, const char* mutex_name, int map_size)