Changeset: fe30b6e3a884 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=fe30b6e3a884
Modified Files:
        gdk/gdk_bat.c
Branch: default
Log Message:

prefix property warning (in case assertions are disabled) with "!"
mainly in order to prevent accidental approval with Mapprove.py


diffs (12 lines):

diff --git a/gdk/gdk_bat.c b/gdk/gdk_bat.c
--- a/gdk/gdk_bat.c
+++ b/gdk/gdk_bat.c
@@ -2795,7 +2795,7 @@ BATmode(BAT *b, int mode)
 #ifdef NDEBUG
 /* assertions are disabled, turn failing tests into a message */
 #undef assert
-#define assert(test)   ((void) ((test) || fprintf(stderr, "WARNING: %s:%d: 
assertion `%s' failed\n", __FILE__, __LINE__, #test)))
+#define assert(test)   ((void) ((test) || fprintf(stderr, "!WARNING: %s:%d: 
assertion `%s' failed\n", __FILE__, __LINE__, #test)))
 #endif
 
 static void
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to