fix minor scan-build warning
This commit is contained in:
@@ -396,7 +396,7 @@ static int FUZ_test(U32 seed, U32 nbCycles, const U32 startCycle, const double c
|
||||
/* Compression tests */
|
||||
if ( ((FUZ_rand(&randState) & 63) == 2)
|
||||
&& ((size_t)blockSize < labSize) ) {
|
||||
memcpy(lowAddrBuffer, block, blockSize);
|
||||
if (blockSize) { assert(block); memcpy(lowAddrBuffer, block, blockSize); }
|
||||
block = (const char*)lowAddrBuffer;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user