Changeset: c46802bcd243 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=c46802bcd243
Modified Files:
        monetdb5/optimizer/opt_mergetable.c
Branch: default
Log Message:

error: 'ai10' may be used uninitialized in this function
Of course, *we* know that this isn't going to happen...


diffs (12 lines):

diff --git a/monetdb5/optimizer/opt_mergetable.c 
b/monetdb5/optimizer/opt_mergetable.c
--- a/monetdb5/optimizer/opt_mergetable.c
+++ b/monetdb5/optimizer/opt_mergetable.c
@@ -762,7 +762,7 @@ mat_group_aggr(MalBlkPtr mb, InstrPtr p,
        int tp = getArgType(mb,p,0), k, tp2 = 0;
        char *aggr2 = aggr_phase2(getFunctionId(p));
        int isAvg = (getFunctionId(p) == subavgRef);
-       InstrPtr ai1 = newInstruction(mb, ASSIGNsymbol), ai10, ai2;
+       InstrPtr ai1 = newInstruction(mb, ASSIGNsymbol), ai10 = NULL, ai2;
 
        setModuleId(ai1,matRef);
        setFunctionId(ai1,packRef);
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to