From 4716080627fd982806bba06c1f53625f8db68a9a Mon Sep 17 00:00:00 2001 From: Omar Cornut Date: Fri, 23 Feb 2018 11:10:51 +0100 Subject: [PATCH] stb_truetype: fix unused variable warning when asserts are disabled. --- stb_truetype.h | 1 + 1 file changed, 1 insertion(+) diff --git a/stb_truetype.h b/stb_truetype.h index a08e929..f65deb5 100644 --- a/stb_truetype.h +++ b/stb_truetype.h @@ -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;