aboutsummaryrefslogtreecommitdiff
path: root/src/sdl/util.h
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2019-01-15 20:53:07 -0500
committerPaul Duncan <pabs@pablotron.org>2019-01-15 20:53:07 -0500
commitedbbfd40714ba9adfd770b9ccb6a0eecdc43a736 (patch)
treea078ac125a8355489083baa458738c3336c30910 /src/sdl/util.h
parentd43d705f4d0dceb503ee04a972929a9f61c85658 (diff)
downloadsok-edbbfd40714ba9adfd770b9ccb6a0eecdc43a736.tar.bz2
sok-edbbfd40714ba9adfd770b9ccb6a0eecdc43a736.zip
fix warnings
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)