3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-06 17:44:08 +00:00

remove dependency on pragma

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2022-07-19 09:36:08 -07:00
parent dead0c9de2
commit 111d27cbee

View file

@ -310,17 +310,15 @@ public:
}
void check_size(cell* c) const {
[[maybe_unused]] unsigned r;
while (c) {
switch (c->kind()) {
case SET:
break;
case PUSH_BACK:
r = size(c->next());
// ? SASSERT(c->idx() == size(c->next()));
break;
case POP_BACK:
r = size(c->next());
SASSERT(c->idx() == r);
SASSERT(c->idx() == size(c->next()));
break;
case ROOT:
return;