From 9744d1f77b092eb4982c60e4750136fb19683545 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Mon, 17 Oct 2022 18:16:29 -0700 Subject: 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 --- src/Xvlibint.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ -- cgit v1.2.1