From 7e95b0dd5c0a58914f41829c39c7c86035852934 Mon Sep 17 00:00:00 2001 From: Daniel Holbert Date: Thu, 10 Jun 2010 11:26:46 -0700 Subject: [PATCH] Bug 571160: fix unused variable warning. r=jdaggett --- gfx/thebes/src/gfxFontUtils.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/gfx/thebes/src/gfxFontUtils.cpp b/gfx/thebes/src/gfxFontUtils.cpp index 3c4727f0e4c4..babf299d78dc 100644 --- a/gfx/thebes/src/gfxFontUtils.cpp +++ b/gfx/thebes/src/gfxFontUtils.cpp @@ -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);