From edbbfd40714ba9adfd770b9ccb6a0eecdc43a736 Mon Sep 17 00:00:00 2001 From: Paul Duncan Date: Tue, 15 Jan 2019 20:53:07 -0500 Subject: fix warnings --- src/sdl/util.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/sdl/util.h') 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) -- cgit v1.2.3