diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2015-02-17 23:00:56 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2015-02-17 23:00:56 -0800 |
commit | 5ea2adab785079f7b87a459654696d2fff248a52 (patch) | |
tree | 477f45995a7d8b4f978f584b325450f5d9fddb3f /xdpyinfo.c | |
parent | bec84d9dd1b6d5f3fcee4cccd704759c5c18544a (diff) |
Mark required arguments to Xlib error handler as unused
Quiets clang warnings:
xdpyinfo.c:151:24: warning: unused parameter 'dpy' [-Wunused-parameter]
silent_errors(Display *dpy, XErrorEvent *ev)
^
xdpyinfo.c:151:42: warning: unused parameter 'ev' [-Wunused-parameter]
silent_errors(Display *dpy, XErrorEvent *ev)
^
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'xdpyinfo.c')
-rw-r--r-- | xdpyinfo.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -148,7 +148,7 @@ static char *ProgramName; static Bool queryExtensions = False; static int -silent_errors(Display *dpy, XErrorEvent *ev) +silent_errors(_X_UNUSED Display *dpy, _X_UNUSED XErrorEvent *ev) { return 0; } |