Makefile: added variable SCANBUILD

so that a different version of scan-build can be selected
This commit is contained in:
Yann Collet
2018-08-16 16:44:13 -07:00
parent 1515f0bb0d
commit 36d6165a2d
5 changed files with 9 additions and 4 deletions
+1
View File
@@ -542,6 +542,7 @@ size_t ZSTD_getcBlockSize(const void* src, size_t srcSize,
static size_t ZSTD_copyRawBlock(void* dst, size_t dstCapacity,
const void* src, size_t srcSize)
{
if (dst==NULL) return ERROR(dstSize_tooSmall);
if (srcSize > dstCapacity) return ERROR(dstSize_tooSmall);
memcpy(dst, src, srcSize);
return srcSize;