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

Commit f0cb79a

Browse files
committed
Fix a couple of function arguments erroneously marked as unused
1 parent f57856a commit f0cb79a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

source/HapCompressor.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ Hap_CGetCodecInfo(HapCompressorGlobals glob, CodecInfo *info)
354354
// memory to allocate for compressed frame buffers.
355355
ComponentResult
356356
Hap_CGetMaxCompressionSize(
357-
HapCompressorGlobals glob HAP_ATTR_UNUSED,
357+
HapCompressorGlobals glob,
358358
PixMapHandle src HAP_ATTR_UNUSED,
359359
const Rect * srcRect,
360360
short depth HAP_ATTR_UNUSED,

source/SquishEncoder.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ static void HapCodecSquishEncoderDestroy(HapCodecDXTEncoderRef encoder)
7676
}
7777
}
7878

79-
static int HapCodecSquishEncoderEncode(HapCodecDXTEncoderRef encoder HAP_ATTR_UNUSED,
79+
static int HapCodecSquishEncoderEncode(HapCodecDXTEncoderRef encoder,
8080
const void *src,
8181
unsigned int src_bytes_per_row,
8282
OSType src_pixel_format,

0 commit comments

Comments
 (0)