diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2013-09-06 00:13:44 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2013-09-06 00:13:44 -0700 |
commit | 1519db19e3d1ed1efc07c8c428c1e9013d93f285 (patch) | |
tree | 7cceb6548888798664171e3b4b70adcbe9aa97f4 /xkill.c | |
parent | 8c669cdff3f32755cb9c383f5b16397a33183e64 (diff) |
Mark arguments to catch_window_errors as unused
Arguments are required by the callback form, but not needed in this case.
Clears clang compliants:
xkill.c:328:30: warning: unused parameter 'dpy' [-Wunused-parameter]
catch_window_errors(Display *dpy, XErrorEvent *ev)
^
xkill.c:328:48: warning: unused parameter 'ev' [-Wunused-parameter]
catch_window_errors(Display *dpy, XErrorEvent *ev)
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'xkill.c')
-rw-r--r-- | xkill.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -325,7 +325,7 @@ get_window_id(Display *dpy, int screen, int button, const char *msg) static int -catch_window_errors(Display *dpy, XErrorEvent *ev) +catch_window_errors(_X_UNUSED Display *dpy, _X_UNUSED XErrorEvent *ev) { return 0; } |