libX11: Changes to 'master'
Jeremy Huddleston
jeremyhu at kemper.freedesktop.org
Sun May 8 09:14:22 PDT 2011
include/X11/Xlibint.h | 5 +++++
1 file changed, 5 insertions(+)
New commits:
commit ae39d82b01359b07dd1fe092d867f79ea95a5438
Author: Jeremy Huddleston <jeremyhu at apple.com>
Date: Sun May 8 09:08:07 2011 -0700
Silence clang static analysis warnings for SetReqLen
This provides a simplified version of the SetReqLen macro when using clang for
static analysis. Prior to this change, we would see many Idempotent operation
warnings inside this macro due to the common case of calling with arg2 and
arg3 being the same variable. This has no effect on code produced during
compilation, but it silences a number of false positives in static analysis.
XIPassiveGrab.c:170:5: warning: Assigned value is always the same as the existing value
SetReqLen(req, num_modifiers, num_modifiers);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from XIPassiveGrab.c:26:
.../include/X11/Xlibint.h:580:8: note: instantiated from:
n = badlen; \
^
Signed-off-by: Jeremy Huddleston <jeremyhu at apple.com>
More information about the xorg-commit
mailing list