[PATCH libXaw3d 2/2] Fix a couple of unused variable warnings

Alan Coopersmith alan.coopersmith at oracle.com
Mon Sep 19 13:51:47 PDT 2011


On 09/17/11 11:22, Matt Turner wrote:
> Signed-off-by: Matt Turner<mattst88 at gmail.com>
> ---
>   src/ThreeD.c |    2 --
>   1 files changed, 0 insertions(+), 2 deletions(-)
>
> diff --git a/src/ThreeD.c b/src/ThreeD.c
> index 754b6e2..586242d 100644
> --- a/src/ThreeD.c
> +++ b/src/ThreeD.c
> @@ -346,7 +346,6 @@ AllocTopShadowPixel (Widget new)
>       XColor set_c;
>       ThreeDWidget tdw = (ThreeDWidget) new;
>       Display *dpy = XtDisplay (new);
> -    Screen *scn = XtScreen (new);
>       Colormap cmap = new->core.colormap;
>
>       Xaw3dComputeTopShadowRGB (new,&set_c);
> @@ -391,7 +390,6 @@ AllocBotShadowPixel (Widget new)
>       XColor set_c;
>       ThreeDWidget tdw = (ThreeDWidget) new;
>       Display *dpy = XtDisplay (new);
> -    Screen *scn = XtScreen (new);
>       Colormap cmap = new->core.colormap;
>
>       Xaw3dComputeBottomShadowRGB (new,&set_c);

Reviewed-by: Alan Coopersmith <alan.coopersmith at oracle.com>

-- 
	-Alan Coopersmith-        alan.coopersmith at oracle.com
	 Oracle Solaris Platform Engineering: X Window System



More information about the xorg-devel mailing list