aboutsummaryrefslogtreecommitdiff
path: root/src/sdl/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sdl/util.h')
-rw-r--r--src/sdl/util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sdl/util.h b/src/sdl/util.h
index 8d7e130..da347e3 100644
--- a/src/sdl/util.h
+++ b/src/sdl/util.h
@@ -1,6 +1,8 @@
#ifndef UTIL_H
#define UTIL_H
+#define UNUSED(a) ((void) (a))
+
#define warn(...) do { \
SDL_LogError(SDL_LOG_CATEGORY_APPLICATION, __VA_ARGS__); \
} while (0)