Remove unused variables

GCC -Wall complains about them.
---
 WINGs/dragdestination.c |    3 +--
 src/main.c              |    4 ----
 util/fontconv.c         |    2 +-
 3 files changed, 2 insertions(+), 7 deletions(-)

diff --git a/WINGs/dragdestination.c b/WINGs/dragdestination.c
index 9206cb8..f538722 100644
--- a/WINGs/dragdestination.c
+++ b/WINGs/dragdestination.c
@@ -289,8 +289,7 @@ findDestinationViewInToplevel(WMView* toplevel, int x, int 
y)
     WMScreen *scr = W_VIEW_SCREEN(toplevel);
     Window toplevelWin = WMViewXID(toplevel);
     int xInToplevel, yInToplevel;
-    Window child, foo;
-    WMView *childView;
+    Window foo;
 
     XTranslateCoordinates(scr->display, scr->rootWin, toplevelWin,
                           x, y, &xInToplevel, &yInToplevel,
diff --git a/src/main.c b/src/main.c
index d61fda2..06eed08 100644
--- a/src/main.c
+++ b/src/main.c
@@ -177,10 +177,6 @@ extern int MonitorLoop(int argc, char **argv);
 
 static Bool multiHead = True;
 
-/* stdi/o for log shell */
-static int LogStdIn = -1, LogStdOut = -1, LogStdErr = -1;
-
-
 static int real_main(int argc, char **argv);
 
 void
diff --git a/util/fontconv.c b/util/fontconv.c
index 0f07abf..1f5dee0 100644
--- a/util/fontconv.c
+++ b/util/fontconv.c
@@ -130,7 +130,7 @@ char*
 xlfdToFc(char *xlfd, char *useFamily, Bool keepXLFD)
 {
     str *tokens, *family, *weight, *slant;
-    char *name, buf[64], *slt;
+    char *name, buf[64];
     int size, pixelsize;
 
     tokens = getXLFDTokens(xlfd);
-- 
1.6.4.rc1.13.gec7b


-- 
To unsubscribe, send mail to [email protected].

Reply via email to