mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 21:51:50 +00:00 
			
		
		
		
	Suppress a bunch of "value computed is not used" warnings when building in
debug mode (--with-pydebug).
This commit is contained in:
		
							parent
							
								
									c687960496
								
							
						
					
					
						commit
						de26cfc1e1
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -542,8 +542,8 @@ eval_frame(PyFrameObject *f) | ||||||
| #define BASIC_POP()	(*--stack_pointer) | #define BASIC_POP()	(*--stack_pointer) | ||||||
| 
 | 
 | ||||||
| #ifdef LLTRACE | #ifdef LLTRACE | ||||||
| #define PUSH(v)		(BASIC_PUSH(v), lltrace && prtrace(TOP(), "push")) | #define PUSH(v)		(void)(BASIC_PUSH(v), lltrace && prtrace(TOP(), "push")) | ||||||
| #define POP()		(lltrace && prtrace(TOP(), "pop"), BASIC_POP()) | #define POP()		((void)(lltrace && prtrace(TOP(), "pop")), BASIC_POP()) | ||||||
| #else | #else | ||||||
| #define PUSH(v)		BASIC_PUSH(v) | #define PUSH(v)		BASIC_PUSH(v) | ||||||
| #define POP()		BASIC_POP() | #define POP()		BASIC_POP() | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Fred Drake
						Fred Drake