fixed multiple minor warnings for XCode

This commit is contained in:
Yann Collet committed 2016-08-26 01:43:47 +02:00
1 parent 0baa64a763
commit 87c18b2ebd
14 files changed
+123 -142

No files matched your search

+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) {