mirror of
https://github.com/Z3Prover/z3
synced 2025-04-08 10:25:18 +00:00
address some build warnings.
This commit is contained in:
parent
b780b54574
commit
fa22b646aa
|
@ -694,7 +694,7 @@ namespace sls {
|
|||
hashtable<zstring, zstring_hash_proc, default_eq<zstring>> set;
|
||||
set.insert(zstring(""));
|
||||
for (unsigned i = 0; i < val_other.length(); ++i) {
|
||||
for (unsigned j = val_other.length(); j-- > 0; ) {
|
||||
for (unsigned j = val_other.length() - i; j-- > 0; ) {
|
||||
zstring sub = val_other.extract(i, j);
|
||||
if (set.contains(sub))
|
||||
break;
|
||||
|
|
|
@ -414,6 +414,7 @@ public:
|
|||
void push_back(ref & r, value const & v) {
|
||||
if (r.m_ref == nullptr)
|
||||
mk(r);
|
||||
SASSERT(r.m_ref);
|
||||
if (r.root()) {
|
||||
if (r.unshared()) {
|
||||
rpush_back(r.m_ref, v);
|
||||
|
|
Loading…
Reference in a new issue