Update of /cvsroot/monetdb/MonetDB5/src/optimizer
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv30669

Modified Files:
        opt_replicator.mx 
Log Message:
make opt_replicator compile with icc


Index: opt_replicator.mx
===================================================================
RCS file: /cvsroot/monetdb/MonetDB5/src/optimizer/opt_replicator.mx,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -d -r1.22 -r1.23
--- opt_replicator.mx   28 Feb 2008 15:04:48 -0000      1.22
+++ opt_replicator.mx   29 Feb 2008 07:29:21 -0000      1.23
@@ -265,6 +265,7 @@
 {
        (void) ret;
        retain = *p;
+       (void)retain;
        return MAL_SUCCEED;
 }
 
@@ -273,6 +274,7 @@
 {
        (void) ret;
        reuse = *p;
+       (void)reuse;
        return MAL_SUCCEED;
 }
 
@@ -281,6 +283,7 @@
 {
        (void) ret;
        rcache = *p;
+       (void)rcache;
        return MAL_SUCCEED;
 }
 
@@ -288,7 +291,7 @@
 OPTreplicatorImplementation(MalBlkPtr mb, MalStkPtr stk, InstrPtr p)
 {
        int i, actions=0;
-       InstrPtr *old, q;
+       InstrPtr *old;
        int limit,slimit, no_pr, rprof = 0, rs =0;
        sht *rep ;
 
@@ -307,11 +310,11 @@
                p= old[i];
                if( (getModuleId(p)== sqlRef && getFunctionId(p)==bindRef) ){
                        if(no_pr && rprof ==0){
-                               q = newStmt(mb,"profile","start");      
+                               newStmt(mb,"profile","start");  
                                rprof = 1;
                        }
                        if(rs == 0){
-                               q = newStmt(mb,"replicator","start");   
+                               newStmt(mb,"replicator","start");       
                                rs = 1;
                        }
                        setModuleId(p,replicatorRef);
@@ -361,11 +364,11 @@
                                getFunctionId(p)==resultSetRef) ||
                                p->token == ENDsymbol){
                                if( rs == 1){
-                                       q = newStmt(mb,"replicator","stop");    
+                                       newStmt(mb,"replicator","stop");        
                                        rs = 0;
                                }
                                if (no_pr && rprof == 1){
-                                       q = newStmt(mb,"profiler","stop");      
+                                       newStmt(mb,"profiler","stop");  
                                        rprof = 0;
                                }
                        }


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Monetdb-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-checkins

Reply via email to