Fix MODE=optlinux and MODE=tiny builds

This commit is contained in:
Justine Tunney 2024-07-23 04:04:19 -07:00
parent 5660ec4741
commit 0602ff6bab
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
12 changed files with 75 additions and 36 deletions

View file

@ -8169,7 +8169,10 @@ if (*code == OP_CBRA)
capitem.number = capnumber;
capitem.next = cb->open_caps;
capitem.assert_depth = cb->assert_depth;
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wdangling-pointer"
cb->open_caps = &capitem;
#pragma GCC diagnostic pop
}
/* Offset is set zero to mark that this bracket is still open */