Changeset: c2abeefc7219 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=c2abeefc7219
Modified Files:
sql/backends/monet5/datacell/basket.mx
sql/backends/monet5/datacell/petrinet.mx
Branch: default
Log Message:
fixed optimzed compilation of datacell:
make sure variables are initialized before being used
diffs (28 lines):
diff --git a/sql/backends/monet5/datacell/basket.mx
b/sql/backends/monet5/datacell/basket.mx
--- a/sql/backends/monet5/datacell/basket.mx
+++ b/sql/backends/monet5/datacell/basket.mx
@@ -702,9 +702,9 @@
str
BSKTtable(int *ret)
{
- BAT *bn, *name, *seen, *events, *grabs;
- BAT *threshold, *winsize, *winstride, *beat;
- BAT *timeslice, *timestride;
+ BAT *bn = NULL, *name = NULL, *seen = NULL, *events = NULL, *grabs =
NULL;
+ BAT *threshold = NULL, *winsize = NULL, *winstride = NULL, *beat = NULL;
+ BAT *timeslice = NULL, *timestride = NULL;
int i;
bn = BATnew(TYPE_str, TYPE_bat, BATTINY);
diff --git a/sql/backends/monet5/datacell/petrinet.mx
b/sql/backends/monet5/datacell/petrinet.mx
--- a/sql/backends/monet5/datacell/petrinet.mx
+++ b/sql/backends/monet5/datacell/petrinet.mx
@@ -644,7 +644,7 @@
str
PNtable(int *ret)
{
- BAT *bn, *name, *def, *status, *seen, *cycles, *events, *time, *error;
+ BAT *bn = NULL, *name = NULL, *def = NULL, *status = NULL, *seen =
NULL, *cycles = NULL, *events = NULL, *time = NULL, *error = NULL;
int i;
bn = BATnew(TYPE_str, TYPE_bat, BATTINY);
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list