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

Matt Turner mattst88 at gmail.com
Sat Sep 17 11:22:22 PDT 2011


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);
-- 
1.7.3.4



More information about the xorg-devel mailing list