From 6662fe7b185aab29aa4b2c5e08784e9da75bc700 Mon Sep 17 00:00:00 2001 From: omar Date: Fri, 23 Feb 2018 11:07:51 +0100 Subject: [PATCH] stb_truetype: Fixed unused variable warnings for configuration where asserts are disabled. (#1642) --- stb_truetype.h | 1 + 1 file changed, 1 insertion(+) diff --git a/stb_truetype.h b/stb_truetype.h index a08e929f9..f65deb503 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;