[trunk] remove some warnings from -Wall -Wextra -pedantic
[openjpeg.git] / src / lib / openjp2 / mct.c
index 59664241873cfa6e1665226087486d89b7543b94..8a5c4afc9961acb644c735cf39a9e93ae06a3b05 100644 (file)
@@ -218,6 +218,8 @@ opj_bool opj_mct_encode_custom(
        OPJ_UINT32 lMultiplicator = 1 << 13;
        OPJ_INT32 * lMctPtr;
 
+    OPJ_ARG_NOT_USED(isSigned);
+
        lCurrentData = (OPJ_INT32 *) opj_malloc((pNbComp + lNbMatCoeff) * sizeof(OPJ_INT32));
        if (! lCurrentData) {
                return OPJ_FALSE;
@@ -267,6 +269,8 @@ opj_bool opj_mct_decode_custom(
        OPJ_FLOAT32 * lCurrentResult = 00;
        OPJ_FLOAT32 ** lData = (OPJ_FLOAT32 **) pData;
 
+    OPJ_ARG_NOT_USED(isSigned);
+
        lCurrentData = (OPJ_FLOAT32 *) opj_malloc (2 * pNbComp * sizeof(OPJ_FLOAT32));
        if (! lCurrentData) {
                return OPJ_FALSE;