Le 20/07/2012 23:41, Thomas Klausner a écrit :
> @@ -336,7 +336,7 @@ int XETrapSetMaxPacket(XETC *tc, Bool set_flag, CARD16 
> size)
>      XETCValues tcv;
>      int status = True;
>      
> -    (void)memset((char *)&tcv,0L,sizeof(tcv));
> +    memset((char *)&tcv,0L,sizeof(tcv));
              ^^^^^^^^

That cast is useless as well since the first argument of memset() is a
void*... But then again there are probably a hundred other things to
clean up in there.

Reviewed-by: Rémi Cardona <[email protected]>

Cheers
_______________________________________________
[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