Changeset: 162867d82142 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/162867d82142
Modified Files:
monetdb5/modules/kernel/algebra.c
Branch: Jul2021
Log Message:
Make sure variable is initialized.
diffs (15 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
@@ -793,8 +793,9 @@ ALGcrossproduct(bat *l, bat *r, const ba
BAT *sl = NULL, *sr = NULL;
gdk_return ret;
- if ((L = BATdescriptor(*left)) == NULL ||
- (R = BATdescriptor(*right)) == NULL) {
+ L = BATdescriptor(*left);
+ R = BATdescriptor(*right);
+ if (L == NULL || R == NULL) {
if (L)
BBPunfix(L->batCacheid);
if (R)
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list