[Clang Warnings] Silence Pack200 unused variable variable warnings
They're caused by a big define-everything-you-ever-need macro
This commit is contained in:
		
				
					committed by
					
						
						Petr Mrázek
					
				
			
			
				
	
			
			
			
						parent
						
							d166340097
						
					
				
				
					commit
					dd0752e69f
				
			@@ -44,6 +44,9 @@
 | 
			
		||||
 | 
			
		||||
extern coding basic_codings[];
 | 
			
		||||
 | 
			
		||||
// CODING_PRIVATE causes a lot of them
 | 
			
		||||
#pragma GCC diagnostic ignored "-Wunused-variable"
 | 
			
		||||
 | 
			
		||||
#define CODING_PRIVATE(spec)                                                                   \
 | 
			
		||||
	int spec_ = spec;                                                                          \
 | 
			
		||||
	int B = CODING_B(spec_);                                                                   \
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user