summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-05-28 14:02:47 +0200
committerStanislaw Halik <sthalik@misaki.pl>2018-05-28 14:02:47 +0200
commit54266dc1ea71411168f5275f066111cef4ac8314 (patch)
treef86c318faa6d035f14b5a7b329e7fe57201f6a0d
parent2fa41ee72a24aadafbc3074d4a18a58d7d6a0a50 (diff)
compat/shm: cleanup #define
-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)