Skip to content
This repository was archived by the owner on Oct 31, 2022. It is now read-only.

Commit 7891d16

Browse files
committed
Mark unused function argument for release builds
1 parent 9655ba0 commit 7891d16

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

source/HapDecompressor.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -493,7 +493,11 @@ pascal ComponentResult Hap_DBeginBand(HapDecompressorGlobals glob, CodecDecompre
493493
return err;
494494
}
495495

496+
#if defined(DEBUG)
496497
pascal ComponentResult Hap_DDecodeBand(HapDecompressorGlobals glob, ImageSubCodecDecompressRecord *drp, unsigned long flags HAP_ATTR_UNUSED)
498+
#else
499+
pascal ComponentResult Hap_DDecodeBand(HapDecompressorGlobals glob HAP_ATTR_UNUSED, ImageSubCodecDecompressRecord *drp, unsigned long flags HAP_ATTR_UNUSED)
500+
#endif
497501
{
498502
OSErr err = noErr;
499503
HapDecompressRecord *myDrp = (HapDecompressRecord *)drp->userDecompressRecord;

0 commit comments

Comments
 (0)