Changeset: b72abddf0a6c for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=b72abddf0a6c
Modified Files:
monetdb5/optimizer/opt_dataflow.mx
Branch: default
Log Message:
fixed optimized compilation: initialize InstrPtr p in simpleFlow()
gcc said
monetdb5/optimizer/opt_dataflow.mx:122:11: error: 'p' may be used uninitialized
in this function
diffs (12 lines):
diff --git a/monetdb5/optimizer/opt_dataflow.mx
b/monetdb5/optimizer/opt_dataflow.mx
--- a/monetdb5/optimizer/opt_dataflow.mx
+++ b/monetdb5/optimizer/opt_dataflow.mx
@@ -119,7 +119,7 @@ static int
simpleFlow(InstrPtr *old, int start, int last)
{
int i, j, simple = TRUE;
- InstrPtr p,q;
+ InstrPtr p = NULL, q;
/* skip simple first */
for( ; simple && start < last; start++) {
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list