mirror of
				https://github.com/Z3Prover/z3
				synced 2025-10-30 19:22:28 +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:
		
							parent
							
								
									dc48008d46
								
							
						
					
					
						commit
						c6b0fc444c
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -127,7 +127,7 @@ namespace z3 { | ||||||
|     */ |     */ | ||||||
|     class context { |     class context { | ||||||
|         Z3_context m_ctx; |         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) { |         void init(config & c) { | ||||||
|             m_ctx = Z3_mk_context_rc(c); |             m_ctx = Z3_mk_context_rc(c); | ||||||
|             Z3_set_error_handler(m_ctx, error_handler); |             Z3_set_error_handler(m_ctx, error_handler); | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue