Changeset: 33a437b13d54 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=33a437b13d54
Modified Files:
        sql/backends/monet5/sql.mx
Branch: default
Log Message:

sql.mx:2320: error: 'm' may be used uninitialized in this function

This hopefully fixes the problem on Darwin


diffs (21 lines):

diff --git a/sql/backends/monet5/sql.mx b/sql/backends/monet5/sql.mx
--- a/sql/backends/monet5/sql.mx
+++ b/sql/backends/monet5/sql.mx
@@ -2277,7 +2277,7 @@
 setVariable(Client cntxt, MalBlkPtr mb, MalStkPtr stk, InstrPtr pci)
 {
        int *res = (int*)getArgReference(stk, pci, 0);
-       mvc *m;
+       mvc *m = NULL;
        str msg = getContext(cntxt, mb, &m, NULL);
        str varname   = *(str *) getArgReference(stk, pci, 2);
        int mtype = getArgType(mb, pci, 3);
@@ -2317,7 +2317,7 @@
 getVariable(Client cntxt, MalBlkPtr mb, MalStkPtr stk, InstrPtr pci)
 {
        int mtype = getArgType(mb, pci, 0);
-       mvc *m;
+       mvc *m = NULL;
        str msg = getContext(cntxt, mb, &m, NULL);
        str varname   = *(str *) getArgReference(stk, pci, 2);
        ValRecord *dst, *src;
_______________________________________________
Checkin-list mailing list
Checkin-list@monetdb.org
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to