reverting to optimised compiler options, current state seems stable
authorAnselm R Garbe <anselm@garbe.us>
Thu, 09 Jul 2009 20:49:48 +0100
changeset 1457 96862665fd92
parent 1456 483124e931ef
child 1458 e30739eebeed
reverting to optimised compiler options, current state seems stable
config.mk
dwm.c
--- a/config.mk	Thu Jul 09 20:11:33 2009 +0100
+++ b/config.mk	Thu Jul 09 20:49:48 2009 +0100
@@ -20,10 +20,10 @@
 
 # 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}\"
--- a/dwm.c	Thu Jul 09 20:11:33 2009 +0100
+++ b/dwm.c	Thu Jul 09 20:49:48 2009 +0100
@@ -1679,7 +1679,7 @@
 updategeom(void) {
 	int i, n = 1;
 	Client *c;
-	Monitor *newmons = NULL, *m, *tm;
+	Monitor *newmons = NULL, *m = NULL, *tm;
 
 #ifdef XINERAMA
 	XineramaScreenInfo *info = NULL;