Changeset: afdf2cc52f96 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=afdf2cc52f96
Modified Files:
        monetdb5/modules/mal/batcalc.c
Branch: batcalc-updated
Log Message:

Removed two misplaced asserts.


diffs (19 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
@@ -534,7 +534,6 @@ CMDbatBINARY1(MalStkPtr stk, InstrPtr pc
                                if (s2 == NULL)
                                        goto bailout;
                                if (s2->ttype == TYPE_bit) {
-                                       assert(pci->argc == 5);
                                        assert(r == NULL);
                                        assert(b1 == NULL || b2 == NULL);
                                        r = s2;
@@ -554,7 +553,6 @@ CMDbatBINARY1(MalStkPtr stk, InstrPtr pc
                                if (s1 == NULL)
                                        goto bailout;
                                if (s1->ttype == TYPE_bit) {
-                                       assert(pci->argc == 4);
                                        r = s1;
                                        s1 = NULL;
                                } else if (b1 == NULL) {
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to