[PATCH libXi] Remove a few unused assignments.
Jeremy Huddleston
jeremyhu at apple.com
Mon May 2 22:32:55 PDT 2011
Reviewed-by: Jeremy Huddleston <jeremyhu at apple.com>
On May 2, 2011, at 9:55 PM, Peter Hutterer wrote:
> Found by static analyzer.
>
> Reported-by: Jeremy Huddleston <jeremyhu at apple.com>
> Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
> ---
> src/XExtInt.c | 3 ---
> 1 files changed, 0 insertions(+), 3 deletions(-)
>
> diff --git a/src/XExtInt.c b/src/XExtInt.c
> index 134ccc6..55144c6 100644
> --- a/src/XExtInt.c
> +++ b/src/XExtInt.c
> @@ -760,7 +760,6 @@ XInputWireToEvent(
> return (DONT_ENQUEUE);
> else {
> *re = *save;
> - stev = (XDeviceStateNotifyEvent *) re;
> return (ENQUEUE_EVENT);
> }
> }
> @@ -788,7 +787,6 @@ XInputWireToEvent(
> return (DONT_ENQUEUE);
> else {
> *re = *save;
> - kstev = (XDeviceStateNotifyEvent *) re;
> return (ENQUEUE_EVENT);
> }
> }
> @@ -816,7 +814,6 @@ XInputWireToEvent(
> return (DONT_ENQUEUE);
> else {
> *re = *save;
> - bstev = (XDeviceStateNotifyEvent *) re;
> return (ENQUEUE_EVENT);
> }
> }
> --
> 1.7.4.4
>
> _______________________________________________
> xorg-devel at lists.x.org: X.Org development
> Archives: http://lists.x.org/archives/xorg-devel
> Info: http://lists.x.org/mailman/listinfo/xorg-devel
>
More information about the xorg-devel
mailing list