Changeset: 22914e26add7 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=22914e26add7
Modified Files:
MonetDB5/src/optimizer/opt_tarantula.mx
Branch: default
Log Message:
Silense compiler
diffs (29 lines):
diff -r ca9167fa62d1 -r 22914e26add7 MonetDB5/src/optimizer/opt_tarantula.mx
--- a/MonetDB5/src/optimizer/opt_tarantula.mx Fri Aug 13 17:21:03 2010 +0200
+++ b/MonetDB5/src/optimizer/opt_tarantula.mx Sat Aug 14 14:35:20 2010 +0200
@@ -657,7 +657,7 @@
/* get addition arguments needed in a leg */
/* k:= remote.put(conn,kvar) */
- for (j= 0; j < sig->retc; j++)
+ for (j= 0; j < sig->argc; j++)
if ( j != sig->retc && j != sig->retc+1 ){
q= newFcnCall(tm,remoteRef,putRef);
setVarType(tm, getArg(q,0), TYPE_str);
@@ -724,7 +724,7 @@
Symbol s;
MalBlkPtr tm;
char buf[BUFSIZ], fcn[BUFSIZ];
- InstrPtr lsig, sig, sig2, r, p,q;
+ InstrPtr lsig, sig, r, p,q;
int j,k,l,x=0;
snprintf(fcn,BUFSIZ,"exe_%s_%d", getFunctionId(getInstrPtr(mb,0)),
getArg(old[pc],0));
@@ -767,7 +767,6 @@
r= newInstruction(tm,ASSIGNsymbol);
setModuleId(r,matRef);
setFunctionId(r,packRef);
- sig2= getInstrPtr(mb,0);
for( l=k=0; l<legs; l++, k=(k+1)%nodes){
p = newStmt(tm,tarantulaRef,GDKstrdup(fcn));
p = pushArgument(tm,p, getArg(sig, k + sig->retc));
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list