mirror of
https://github.com/nothings/stb
synced 2024-12-15 20:32:33 +03:00
stb_truetype: fix unused variable warning when asserts are disabled.
This commit is contained in:
parent
e6afb9cbae
commit
4716080627
@ -2463,6 +2463,7 @@ static stbtt_int32 stbtt__GetGlyphGPOSInfoAdvance(const stbtt_fontinfo *info, i
|
||||
if (valueFormat2 != 0) return 0;
|
||||
|
||||
STBTT_assert(coverageIndex < pairSetCount);
|
||||
STBTT__NOTUSED(pairSetCount);
|
||||
|
||||
needle=glyph2;
|
||||
r=pairValueCount-1;
|
||||
|
Loading…
Reference in New Issue
Block a user