mirror of
				git://git.code.sf.net/p/cdesktopenv/code
				synced 2025-03-09 15:50:02 +00:00 
			
		
		
		
	Fix to Wenum-compare
It seems the purpose is to define a constant as an anonymous enum. that behaviour triggers the enum compare. Let's make it a constant.
This commit is contained in:
		
							parent
							
								
									707cc1256f
								
							
						
					
					
						commit
						20ba7550cd
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -83,7 +83,7 @@ enum Mode {
 | 
			
		|||
 | 
			
		||||
const int nModes = mconnetMode + 1;
 | 
			
		||||
 | 
			
		||||
enum { minShortrefMode = econMode };
 | 
			
		||||
const int minShortrefMode = econMode;
 | 
			
		||||
 | 
			
		||||
#ifdef SP_NAMESPACE
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue