1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-19 20:38:08 +01:00

Remove unused variables

GCC -Wall complains about them.
This commit is contained in:
Carlos R. Mafra
2009-08-17 17:35:48 +02:00
parent ceeca912cd
commit 09a8911b6f
3 changed files with 2 additions and 7 deletions

View File

@@ -289,8 +289,7 @@ findDestinationViewInToplevel(WMView* toplevel, int x, int y)
WMScreen *scr = W_VIEW_SCREEN(toplevel); WMScreen *scr = W_VIEW_SCREEN(toplevel);
Window toplevelWin = WMViewXID(toplevel); Window toplevelWin = WMViewXID(toplevel);
int xInToplevel, yInToplevel; int xInToplevel, yInToplevel;
Window child, foo; Window foo;
WMView *childView;
XTranslateCoordinates(scr->display, scr->rootWin, toplevelWin, XTranslateCoordinates(scr->display, scr->rootWin, toplevelWin,
x, y, &xInToplevel, &yInToplevel, x, y, &xInToplevel, &yInToplevel,

View File

@@ -177,10 +177,6 @@ extern int MonitorLoop(int argc, char **argv);
static Bool multiHead = True; 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); static int real_main(int argc, char **argv);
void void

View File

@@ -130,7 +130,7 @@ char*
xlfdToFc(char *xlfd, char *useFamily, Bool keepXLFD) xlfdToFc(char *xlfd, char *useFamily, Bool keepXLFD)
{ {
str *tokens, *family, *weight, *slant; str *tokens, *family, *weight, *slant;
char *name, buf[64], *slt; char *name, buf[64];
int size, pixelsize; int size, pixelsize;
tokens = getXLFDTokens(xlfd); tokens = getXLFDTokens(xlfd);