Changeset: b72768d848f0 for MonetDB URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=b72768d848f0 Modified Files: pathfinder/runtime/ll_staircasejoin.mx Branch: Oct2010 Log Message:
avoid (disguise) self-comparison to fix compilation with clang 2.8 on 64-bit Fedora 14: pathfinder/runtime/ll_staircasejoin.mx:376:26: error: self-comparison always evaluates to true [-Wtautological-compare] if (res && (GDK_FAIL == GDK_FAIL)) ^ diffs (15 lines): diff -r d88d208736b4 -r b72768d848f0 pathfinder/runtime/ll_staircasejoin.mx --- a/pathfinder/runtime/ll_staircasejoin.mx Tue Dec 07 19:39:07 2010 +0100 +++ b/pathfinder/runtime/ll_staircasejoin.mx Tue Dec 07 19:41:01 2010 +0100 @@ -372,8 +372,9 @@ @ @= ll_return -{ if (del) BBPreclaim(del); - if (res && (@1 == GDK_FAIL)) +{ int rtrn = @1; + if (del) BBPreclaim(del); + if (res && (rtrn == GDK_FAIL)) BBP_unfix_reclaim(res); return @1; } @c _______________________________________________ Checkin-list mailing list Checkin-list@monetdb.org http://mail.monetdb.org/mailman/listinfo/checkin-list