mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 571160: fix unused variable warning. r=jdaggett
This commit is contained in:
parent
b99dade73e
commit
ff7906b891
@ -435,7 +435,6 @@ gfxFontUtils::ReadCMAPTableFormat14(PRUint8 *aBuf, PRUint32 aLength,
|
||||
PRUint32 prevUnicode = 0;
|
||||
for (PRUint32 j = 0; j < numUVSMappings; j++, tables += SizeOfNonDefUVSTable) {
|
||||
const PRUint32 unicodeValue = ReadUint24At(tables, NonDefUVSOffsetUnicodeValue);
|
||||
const PRUint16 glyphID = ReadShortAt(tables, NonDefUVSOffsetGlyphID);
|
||||
NS_ENSURE_TRUE((prevUnicode < unicodeValue || j == 0) &&
|
||||
unicodeValue <= CMAP_MAX_CODEPOINT,
|
||||
NS_ERROR_GFX_CMAP_MALFORMED);
|
||||
|
Loading…
Reference in New Issue
Block a user