3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-15 21:38:44 +00:00

Fix VisualStudio 2010 compiler warning C4100

When compiling with Visual Studio 2010 the buildlog warns of the following: `z3++.h: warning C4100: 'e' : unreferenced formal parameter` and `z3++.h: warning C4100: 'c' : unreferenced formal parameter`. This merge request removes this warning.
This commit is contained in:
AlexVonB 2016-09-05 16:22:00 +02:00 committed by GitHub
parent dc48008d46
commit c6b0fc444c

View file

@ -127,7 +127,7 @@ namespace z3 {
*/
class context {
Z3_context m_ctx;
static void error_handler(Z3_context c, Z3_error_code e) { /* do nothing */ }
static void error_handler(Z3_context /*c*/, Z3_error_code /*e*/) { /* do nothing */ }
void init(config & c) {
m_ctx = Z3_mk_context_rc(c);
Z3_set_error_handler(m_ctx, error_handler);