3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-02-14 21:01:49 +00:00

Merge pull request #8509 from Z3Prover/copilot/fix-build-warnings

Fix compiler warnings: unused variables, uninitialized variable, and false positive array bounds
This commit is contained in:
Nikolaj Bjorner 2026-02-07 05:10:02 -08:00 committed by GitHub
commit 8978f1549b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 11 additions and 5 deletions

View file

@ -282,7 +282,6 @@ namespace datalog {
return false;
}
unsigned udoc_plugin::num_sort_bits(sort* s) const {
unsigned num_bits = 0;
if (bv.is_bv_sort(s))
return bv.get_bv_size(s);
if (m.is_bool(s))