Changeset: 209f4125f117 for MonetDB URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=209f4125f117 Modified Files: monetdb5/optimizer/opt_mergetable.c Branch: Feb2013 Log Message:
mat_apply1: fix compilation on Darwin 11 hgrepo/monetdb5/optimizer/opt_mergetable.c: In function ‘mat_apply1’: hgrepo/monetdb5/optimizer/opt_mergetable.c:262: warning: ‘n’ may be used uninitialized in this function 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 @@ -259,7 +259,7 @@ mat_apply1(MalBlkPtr mb, InstrPtr p, mat { int tpe, k, is_select = isSubSelect(p), is_mirror = (getFunctionId(p) == mirrorRef); int is_identity = (getFunctionId(p) == identityRef && getModuleId(p) == batcalcRef); - int ident_var = 0, is_assign = (getFunctionId(p) == NULL), n; + int ident_var = 0, is_assign = (getFunctionId(p) == NULL), n = 0; InstrPtr r = NULL, q; /* Find the mat we overwrite */ _______________________________________________ checkin-list mailing list checkin-list@monetdb.org https://www.monetdb.org/mailman/listinfo/checkin-list