mirror of
https://github.com/Z3Prover/z3
synced 2025-04-15 13:28:47 +00:00
Fix warnings in C++ API
When assertions are disabled, the compiler warns about unused function parameters.
This commit is contained in:
parent
cb15473d5b
commit
da2826b55e
|
@ -354,7 +354,7 @@ namespace z3 {
|
||||||
Z3_error_code check_error() const { return m_ctx->check_error(); }
|
Z3_error_code check_error() const { return m_ctx->check_error(); }
|
||||||
friend void check_context(object const & a, object const & b);
|
friend void check_context(object const & a, object const & b);
|
||||||
};
|
};
|
||||||
inline void check_context(object const & a, object const & b) { assert(a.m_ctx == b.m_ctx); }
|
inline void check_context(object const & a, object const & b) { (void)a; (void)b; assert(a.m_ctx == b.m_ctx); }
|
||||||
|
|
||||||
class symbol : public object {
|
class symbol : public object {
|
||||||
Z3_symbol m_sym;
|
Z3_symbol m_sym;
|
||||||
|
|
Loading…
Reference in a new issue