Handle clang 10 warnings:
+ fix -Wtautological-bitwise-compare + fix -Wimplicit-int-float-conversion + fix -Wmisleading-indentation + fix -Wrange-loop-construct + suppress -Wdeprecated-copy of 3rd party libs
This commit is contained in:
@@ -198,7 +198,7 @@ bool ZipLocalEntry::trailingDataDescriptor() const {
|
||||
// gp_bitfield bit 3 is one, if this entry uses a trailing data
|
||||
// descriptor to keep size, compressed size and crc-32
|
||||
// fields.
|
||||
if ( ( gp_bitfield & 4 ) == 1 )
|
||||
if ( ( gp_bitfield & 4 ) == 4 )
|
||||
return true ;
|
||||
else
|
||||
return false ;
|
||||
|
||||
Reference in New Issue
Block a user