about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAnselm R Garbe <anselm@garbe.us>2009-07-09 20:49:48 +0100
committerAnselm R Garbe <anselm@garbe.us>2009-07-09 20:49:48 +0100
commit8420fb1cedf067ce230d5d69e5d4edb3031745e7 (patch)
treee586b7325b4502d608f194c565e0557bf0a63640
parentf6128a16f9f32f8d2498c4f978b82f94da0e24d8 (diff)
downloaddwm-8420fb1cedf067ce230d5d69e5d4edb3031745e7.tar.gz
reverting to optimised compiler options, current state seems stable
-rw-r--r--config.mk8
-rw-r--r--dwm.c2
2 files changed, 5 insertions, 5 deletions
diff --git a/config.mk b/config.mk
index f5ec4c1..3fcfd2f 100644
--- a/config.mk
+++ b/config.mk
@@ -20,10 +20,10 @@ LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 ${XINERAMALIBS}
 
 # flags
 CPPFLAGS = -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS}
-CFLAGS = -g -std=c99 -pedantic -Wall -O0 ${INCS} ${CPPFLAGS}
-#CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
-LDFLAGS = -g ${LIBS}
-#LDFLAGS = -s ${LIBS}
+#CFLAGS = -g -std=c99 -pedantic -Wall -O0 ${INCS} ${CPPFLAGS}
+CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
+#LDFLAGS = -g ${LIBS}
+LDFLAGS = -s ${LIBS}
 
 # Solaris
 #CFLAGS = -fast ${INCS} -DVERSION=\"${VERSION}\"
diff --git a/dwm.c b/dwm.c
index d71bb58..5822944 100644
--- a/dwm.c
+++ b/dwm.c
@@ -1679,7 +1679,7 @@ void
 updategeom(void) {
 	int i, n = 1;
 	Client *c;
-	Monitor *newmons = NULL, *m, *tm;
+	Monitor *newmons = NULL, *m = NULL, *tm;
 
 #ifdef XINERAMA
 	XineramaScreenInfo *info = NULL;