Changeset: 5b0a82a7b1e6 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=5b0a82a7b1e6
Modified Files:
MonetDB5/src/optimizer/opt_remap.mx
Branch: default
Log Message:
Value may be used uninitialized.
diffs (22 lines):
diff -r a560ca00677d -r 5b0a82a7b1e6 MonetDB5/src/optimizer/opt_remap.mx
--- a/MonetDB5/src/optimizer/opt_remap.mx Sun Jul 18 16:19:22 2010 +0200
+++ b/MonetDB5/src/optimizer/opt_remap.mx Mon Jul 19 09:57:01 2010 +0200
@@ -163,7 +163,7 @@
OPTmultiplexInline(Client cntxt, MalBlkPtr mb, InstrPtr p, int pc )
{
MalBlkPtr mq;
- InstrPtr q,sig;
+ InstrPtr q = NULL, sig;
char buf[1024];
int i,j,k, actions=0;
int refbat=0;
@@ -317,7 +317,8 @@
terminateMX:
OPTDEBUGremap {
stream_printf(cntxt->fdout,"Abort remap\n");
- printInstruction(cntxt->fdout,mb,0,q,LIST_MAL_ALL);
+ if (q)
+
printInstruction(cntxt->fdout,mb,0,q,LIST_MAL_ALL);
}
freeMalBlk(mq);
GDKfree(upgrade);
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list