]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
fixed warnings from Travis
authorinikep <inikep@gmail.com>
Thu, 9 Jun 2016 18:03:30 +0000 (20:03 +0200)
committerinikep <inikep@gmail.com>
Thu, 9 Jun 2016 18:03:30 +0000 (20:03 +0200)
lib/legacy/zstd_v06.c

index 6ee0d44a182630728346cab646bc2c4d2a015eb5..2640c86b32314df771ac1d244dd4fac6c7754f33 100644 (file)
@@ -2218,10 +2218,6 @@ HUFv06_decompress() :
 ******************************************/
 size_t HUFv06_compressBound(size_t size);       /**< maximum compressed size */
 
-/* Error Management */
-unsigned    HUFv06_isError(size_t code);        /**< tells if a return value is an error code */
-const char* HUFv06_getErrorName(size_t code);   /**< provides error code string (useful for debugging) */
-
 
 #if defined (__cplusplus)
 }
@@ -3688,7 +3684,7 @@ size_t ZSTDv06_decodeLiteralsBlock(ZSTDv06_DCtx* dctx,
     @return : nb bytes read from src,
               or an error code if it fails, testable with ZSTDv06_isError()
 */
-FORCE_INLINE size_t ZSTDv06_buildSeqTable(FSEv06_DTable* DTable, U32 type, U32 max, U32 maxLog,
+size_t ZSTDv06_buildSeqTable(FSEv06_DTable* DTable, U32 type, U32 max, U32 maxLog,
                                  const void* src, size_t srcSize,
                                  const S16* defaultNorm, U32 defaultLog, U32 flagRepeatTable)
 {
@@ -3860,7 +3856,6 @@ static void ZSTDv06_decodeSequence(seq_t* seq, seqState_t* seqState)
 }
 
 
-FORCE_INLINE
 size_t ZSTDv06_execSequence(BYTE* op,
                                 BYTE* const oend, seq_t sequence,
                                 const BYTE** litPtr, const BYTE* const litLimit_8,