Changeset: f2da44a19bc1 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/f2da44a19bc1
Modified Files:
monetdb5/modules/kernel/algebra.c
Branch: groupjoin
Log Message:
simplified code (resolving compilation warning)
diffs (20 lines):
diff --git a/monetdb5/modules/kernel/algebra.c
b/monetdb5/modules/kernel/algebra.c
--- a/monetdb5/modules/kernel/algebra.c
+++ b/monetdb5/modules/kernel/algebra.c
@@ -447,13 +447,10 @@ ALGmarkselect(bat *r1, bat *r2, const ba
}
if (m == TRUE)
continue;
- if (m == FALSE && mi[n] == bit_nil /* empty */) {
- m = m;
- } else if ((mi[n] == FALSE && pi[n] == TRUE) /* ie has
nil */ || (any && mi[n] == TRUE && pi[n] == bit_nil)) {
+ if ((mi[n] == FALSE && pi[n] == TRUE) /* ie has nil */
|| (any && mi[n] == TRUE && pi[n] == bit_nil))
has_nil = true;
- } else {
- m = (mi[n] == TRUE && pi[n] == TRUE)?TRUE:m;
- }
+ else if (mi[n] == TRUE && pi[n] == TRUE)
+ m = TRUE;
}
if (nr) {
ri1[q] = c-1;
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]