- 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:
parent
b1cb044a15
commit
e17e6868e6
3 changed files with 8 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue