- removed bogus errno check from Dehacked parser.

This checked errno without first confirming that there has been an error, it is also pointless because the value range check will automatically catch the error case as well.
This commit is contained in:
Christoph Oelckers 2022-12-08 09:50:06 +01:00
commit e17e6868e6
3 changed files with 8 additions and 1 deletions

View file

@ -2,6 +2,10 @@ cmake_minimum_required( VERSION 3.1.0 )
make_release_only()
if (MSVC)
set( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /wd4244" )
endif()
add_definitions( -DBZ_NO_STDIO )
add_library( bz2 STATIC
blocksort.c