diff options
| author | Borislav Stanimirov <b.stanimirov@abv.bg> | 2020-02-18 17:31:08 +0200 |
|---|---|---|
| committer | Borislav Stanimirov <b.stanimirov@abv.bg> | 2020-02-18 17:31:08 +0200 |
| commit | 1b06d232c2b1bd6d189bee87908df95506556faa (patch) | |
| tree | ba9791517a3d79f44d27da0453b364f1ad8f253f /sokol_app.h | |
| parent | cf4c89a1e269bb94734b25180b65b5df8f4c1cf3 (diff) | |
sokol_app x11: mark unused variable properly
Diffstat (limited to 'sokol_app.h')
| -rw-r--r-- | sokol_app.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sokol_app.h b/sokol_app.h index 5ca30195..4ff282b8 100644 --- a/sokol_app.h +++ b/sokol_app.h @@ -6443,7 +6443,8 @@ static const struct _sapp_x11_codepair { { 0xffbd /*XKB_KEY_KP_Equal*/, '=' } }; -_SOKOL_PRIVATE int _sapp_x11_error_handler(Display*, XErrorEvent* event) { +_SOKOL_PRIVATE int _sapp_x11_error_handler(Display* display, XErrorEvent* event) { + _SOKOL_UNUSED(display); _sapp_x11_error_code = event->error_code; return 0; } |