From 4f44392c4d76351ca9280be7c8d821e1c9f10ff9 Mon Sep 17 00:00:00 2001 From: John Hawthorn Date: Mon, 31 Aug 2009 01:32:38 -0700 Subject: whoops. proper NDEBUG --- Makefile | 2 +- src/imagemagick.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index bc9c88c..d2e183b 100644 --- a/Makefile +++ b/Makefile @@ -11,7 +11,7 @@ BINDIR = $(PREFIX)/bin CONFIG ?= ../config -include configs/$(CONFIG).mk -CFLAGS ?= -O3 +CFLAGS ?= -O3 -DNDEBUG meh: $(OBJFILES) $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(OBJFILES) $(LIBS) diff --git a/src/imagemagick.c b/src/imagemagick.c index 4fbb8cb..e327685 100644 --- a/src/imagemagick.c +++ b/src/imagemagick.c @@ -34,7 +34,7 @@ struct image *imagemagick_open(FILE *f){ asprintf(&argv[4], "ppm:fd:%i", tmpfd[1]); argv[5] = NULL; -#ifndef NDEBUG +#ifdef NDEBUG /* STFU OMFG */ freopen("/dev/null", "w", stdout); freopen("/dev/null", "w", stderr); -- cgit v1.2.3