Skip to content

Commit 1cd6a5f

Browse files
committed
libmatroska2: fix warning when building without zlib
1 parent 5253fb9 commit 1cd6a5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libmatroska2/matroska2/matroska.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ MATROSKA_DLL bool_t MATROSKA_TrackSetCompressionNone(matroska_trackentry *TrackE
102102
#if defined(CONFIG_ZLIB)
103103
MATROSKA_DLL err_t CompressFrameZLib(const uint8_t *Cursor, size_t CursorSize, uint8_t **OutBuf, size_t *OutSize);
104104
#else // !CONFIG_ZLIB
105-
static INLINE err_t CompressFrameZLib(const uint8_t *Cursor, size_t CursorSize, uint8_t **OutBuf, size_t *OutSize)
105+
static INLINE err_t CompressFrameZLib(const uint8_t * UNUSED_PARAM(Cursor), size_t UNUSED_PARAM(CursorSize), uint8_t ** UNUSED_PARAM(OutBuf), size_t * UNUSED_PARAM(OutSize))
106106
{
107107
return ERR_NOT_SUPPORTED;
108108
}

0 commit comments

Comments
 (0)