diff --git a/WINGs/dragdestination.c b/WINGs/dragdestination.c index 9206cb82..f538722b 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 d61fda2e..06eed084 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 0f07abfd..1f5dee0d 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);