--- old/src/java.desktop/share/native/liblcms/cmserr.c 2016-04-01 15:58:26.230008699 +0530 +++ new/src/java.desktop/share/native/liblcms/cmserr.c 2016-04-01 15:58:25.962008702 +0530 @@ -121,9 +121,9 @@ { if (size > MAX_MEMORY_FOR_ALLOC) return NULL; // Never allow over maximum + cmsUNUSED_PARAMETER(ContextID); return (void*) malloc(size); - cmsUNUSED_PARAMETER(ContextID); } // Generic allocate & zero @@ -155,12 +155,12 @@ static void* _cmsReallocDefaultFn(cmsContext ContextID, void* Ptr, cmsUInt32Number size) { + cmsUNUSED_PARAMETER(ContextID); if (size > MAX_MEMORY_FOR_ALLOC) return NULL; // Never realloc over 512Mb return realloc(Ptr, size); - cmsUNUSED_PARAMETER(ContextID); }