diff --git a/GNUmakefile b/GNUmakefile index 211bbdc..c86d8f5 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -3,7 +3,7 @@ TARGET = $(shell uname -s) CC = gcc -CFLAGS = -fPIC -Iinclude -D_MILSKO +CFLAGS = -Wall -Wextra -fPIC -Iinclude -D_MILSKO LDFLAGS = LIBS = diff --git a/src/x11.c b/src/x11.c index 592185d..fea7074 100644 --- a/src/x11.c +++ b/src/x11.c @@ -4,10 +4,8 @@ static unsigned long mask = ExposureMask | StructureNotifyMask | ButtonPressMask | ButtonReleaseMask; MwLL MwLLCreate(MwLL parent, int x, int y, int width, int height) { - MwLL r; - Window p; - Window root; - unsigned int border, depth; + MwLL r; + Window p; r = malloc(sizeof(*r));