diff --git a/tests/icons.c b/tests/icons.c index fbdb5ed4..650a32a4 100644 --- a/tests/icons.c +++ b/tests/icons.c @@ -77,7 +77,6 @@ int main(int argc, char **argv) cur = XCreateFontCursor(d, XC_crosshair); XGrabPointer(d, RootWindow(d, s), False, ButtonPressMask, GrabModeAsync, GrabModeAsync, None, cur, CurrentTime); - XEvent ev; while (1) { XNextEvent(d, &ev); if (ev.type == ButtonPress) {