Correct a warning from cppcheck:
binary_reader.hpp:650: (style) Unsigned expression 'mant' can't be negative so it is unnecessary to test it
910a7d2b87/checks (step):5:84
Signed-off-by: Xav83 <x.jouvenot@gmail.com>
			
			
This commit is contained in:
		
							parent
							
								
									771d5dadc6
								
							
						
					
					
						commit
						b9dfdbe6be
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -647,7 +647,7 @@ class binary_reader | |||
|                     const int exp = (half >> 10u) & 0x1Fu; | ||||
|                     const unsigned int mant = half & 0x3FFu; | ||||
|                     assert(0 <= exp and exp <= 32); | ||||
|                     assert(0 <= mant and mant <= 1024); | ||||
|                     assert(mant <= 1024); | ||||
|                     switch (exp) | ||||
|                     { | ||||
|                         case 0: | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue