fixed multiple minor warnings for XCode

This commit is contained in:
Yann Collet
2016-08-26 01:43:47 +02:00
parent 0baa64a763
commit 87c18b2ebd
14 changed files with 123 additions and 142 deletions
+1 -1
View File
@@ -2599,7 +2599,7 @@ static size_t ZSTD_writeEpilogue(ZSTD_CCtx* cctx, void* dst, size_t dstCapacity)
BYTE* op = ostart;
size_t fhSize = 0;
if (cctx->stage == ZSTDcs_created) return ERROR(stage_wrong); /*< not even init ! */
if (cctx->stage == ZSTDcs_created) return ERROR(stage_wrong); /* init missing */
/* special case : empty frame */
if (cctx->stage == ZSTDcs_init) {