Update of /cvsroot/monetdb/sql/src/storage/bat
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv616/sql/src/storage/bat
Modified Files:
bat_storage.mx
Log Message:
fix icc-compilation with assertions disabled:
let the compiler know that we are aware that
some variables and paramaters are "set but never used"
in this case.
Index: bat_storage.mx
===================================================================
RCS file: /cvsroot/monetdb/sql/src/storage/bat/bat_storage.mx,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- bat_storage.mx 10 Nov 2007 21:47:29 -0000 1.7
+++ bat_storage.mx 11 Nov 2007 22:31:45 -0000 1.8
@@ -141,6 +141,9 @@
BAT *b;
sql_bat *bat = c->data;
+#ifdef NDEBUG
+ (void) access; /* satisfy compiler */
+#endif
assert(access == RD_UPD);
b = temp_descriptor(bat->ubid);
assert(b);
@@ -155,6 +158,9 @@
BAT *b;
sql_bat *bat = i->data;
+#ifdef NDEBUG
+ (void) access; /* satisfy compiler */
+#endif
assert(access == RD_UPD);
b = temp_descriptor(bat->ubid);
assert(b);
@@ -214,6 +220,9 @@
BAT *b;
sql_dbat *bat = t->data;
+#ifdef NDEBUG
+ (void) access; /* satisfy compiler */
+#endif
assert(access == RDONLY || access == RD_INS);
assert(access!=RD_UPD);
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Monetdb-sql-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-sql-checkins