Reviewed-by: Jeremy Huddleston <[email protected]>

On May 2, 2011, at 9:55 PM, Peter Hutterer wrote:

> Found by static analyzer.
> 
> Reported-by: Jeremy Huddleston <[email protected]>
> Signed-off-by: Peter Hutterer <[email protected]>
> ---
> 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
> 
> _______________________________________________
> [email protected]: X.Org development
> Archives: http://lists.x.org/archives/xorg-devel
> Info: http://lists.x.org/mailman/listinfo/xorg-devel
> 

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to