summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/sdl
diff options
context:
space:
mode:
author Olivier Galibert <galibert@pobox.com>2021-01-22 12:50:24 +0100
committer Olivier Galibert <galibert@pobox.com>2021-01-22 13:23:58 +0100
commitaa33ec12734d0789e54ee3ba0024295706af46f0 (patch)
tree34f74bcdd5b31f4b53c0ecb57b831c3802b65e29 /src/osd/sdl
parent39b4a9817390ded473d0b7026e892225b6f02af9 (diff)
ATTR_UNUSED, do you welcome C++17 in your heart and mind?
Diffstat (limited to 'src/osd/sdl')
-rw-r--r--src/osd/sdl/window.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osd/sdl/window.h b/src/osd/sdl/window.h
index f5d5715b2f4..b2a6c6cf165 100644
--- a/src/osd/sdl/window.h
+++ b/src/osd/sdl/window.h
@@ -33,7 +33,7 @@ class SDL_DM_Wrapper;
typedef uintptr_t HashT;
-#define OSDWORK_CALLBACK(name) void *name(void *param, ATTR_UNUSED int threadid)
+#define OSDWORK_CALLBACK(name) void *name(void *param, [[maybe_unused]] int threadid)
class sdl_window_info : public osd_window_t<SDL_Window*>
{