Skip to content

Commit

Permalink
Merge pull request #312 from prrace/unused
Browse files Browse the repository at this point in the history
Xcode 13.3 warning on var set but not used in cmstypes.c
Looks great, thank you!
  • Loading branch information
mm2 committed May 25, 2022
2 parents 6ae2e99 + 197f70e commit 9575107
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cmstypes.c
Original file line number Diff line number Diff line change
Expand Up @@ -3471,7 +3471,6 @@ void *Type_ProfileSequenceId_Read(struct _cms_typehandler_struct* self, cmsIOHAN

// Get table count
if (!_cmsReadUInt32Number(io, &Count)) return NULL;
SizeOfTag -= sizeof(cmsUInt32Number);

// Allocate an empty structure
OutSeq = cmsAllocProfileSequenceDescription(self ->ContextID, Count);
Expand All @@ -3489,6 +3488,7 @@ void *Type_ProfileSequenceId_Read(struct _cms_typehandler_struct* self, cmsIOHAN
*nItems = 1;
return OutSeq;

cmsUNUSED_PARAMETER(SizeOfTag);
}


Expand Down

0 comments on commit 9575107

Please sign in to comment.