summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2022-10-17 18:16:29 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2022-10-17 18:16:29 -0700
commit9744d1f77b092eb4982c60e4750136fb19683545 (patch)
tree3c31d826310f7696f918d49207112818e04ed549 /src
parentee48980aca0bc9deb61458fdb5ebda3928d944a0 (diff)
XvGetReq: remove trailing semicolon that caller is expected to provide
Clears 20 clang warnings of the form: Xv.c:126:34: warning: empty expression statement has no effect; remove unnecessary ';' to silence this warning [-Wextra-semi-stmt] XvGetReq(QueryExtension, req); ^ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'src')
-rw-r--r--src/Xvlibint.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Xvlibint.h b/src/Xvlibint.h
index c2ae7d6..40f2710 100644
--- a/src/Xvlibint.h
+++ b/src/Xvlibint.h
@@ -50,6 +50,6 @@ SOFTWARE.
#define XvGetReq(name, req) \
req = (xv##name##Req *) _XGetRequest( \
dpy, (CARD8) info->codes->major_opcode, SIZEOF(xv##name##Req)); \
- req->xvReqType = xv_##name;
+ req->xvReqType = xv_##name
#endif /* XVLIBINT_H */