Update of /cvsroot/monetdb/sql/src/storage/bpm
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv616/sql/src/storage/bpm
Modified Files:
bpm_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: bpm_storage.mx
===================================================================
RCS file: /cvsroot/monetdb/sql/src/storage/bpm/bpm_storage.mx,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- bpm_storage.mx 10 Nov 2007 21:47:29 -0000 1.2
+++ bpm_storage.mx 11 Nov 2007 22:31:45 -0000 1.3
@@ -243,6 +243,9 @@
BAT *b;
sql_bpm *p = c->data;
+#ifdef NDEBUG
+ (void) access; /* satisfy compiler */
+#endif
assert(access == RD_UPD);
/* TODO we should fold here ??? */
b = temp_descriptor(p->parts[0].ubid);
@@ -258,6 +261,9 @@
BAT *b;
sql_bpm *p = i->data;
+#ifdef NDEBUG
+ (void) access; /* satisfy compiler */
+#endif
assert(access == RD_UPD);
/* TODO we should fold here ??? */
b = temp_descriptor(p->parts[0].ubid);
@@ -537,6 +543,9 @@
BAT *b;
sql_bpm *p = 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