Changeset: c9e0a7d739de for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=c9e0a7d739de
Modified Files:
monetdb5/modules/mal/batcalc.c
Branch: Oct2020
Log Message:
Remove unnecessary test.
diffs (13 lines):
diff --git a/monetdb5/modules/mal/batcalc.c b/monetdb5/modules/mal/batcalc.c
--- a/monetdb5/modules/mal/batcalc.c
+++ b/monetdb5/modules/mal/batcalc.c
@@ -1051,8 +1051,7 @@ CMDconvertbat(MalStkPtr stk, InstrPtr pc
}
if (s && ATOMtype(s->ttype) != TYPE_oid) {
BBPunfix(b->batCacheid);
- if (s)
- BBPunfix(s->batCacheid);
+ BBPunfix(s->batCacheid);
throw(MAL, "batcalc.convert", SQLSTATE(42000)
ILLEGAL_ARGUMENT);
}
}
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list