try to prevent optimizer to remove null sink code altogether
This commit is contained in:
		
							parent
							
								
									b640c59087
								
							
						
					
					
						commit
						fbde18fc02
					
				| @ -22,7 +22,7 @@ protected: | |||||||
|         // prevent optimizer to remove this sink altogether (and do useful check while at it).
 |         // prevent optimizer to remove this sink altogether (and do useful check while at it).
 | ||||||
|         if(msg.level == level::off) |         if(msg.level == level::off) | ||||||
|         { |         { | ||||||
|             printf("null_sink: should never not be called if level is off!\n"); |             printf("null_sink: should never be called if level is off!\n"); | ||||||
|             abort(); |             abort(); | ||||||
|         } |         } | ||||||
|     } |     } | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user