usp10: Removed unused variable (PVS-Studio)
Michael Stefaniuc
mstefani at redhat.de
Tue Oct 28 17:37:00 CDT 2014
---
dlls/usp10/opentype.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/dlls/usp10/opentype.c b/dlls/usp10/opentype.c
index 166d823..dd9c8c4 100644
--- a/dlls/usp10/opentype.c
+++ b/dlls/usp10/opentype.c
@@ -924,10 +924,9 @@ static INT GSUB_apply_LigatureSubst(const OT_LookupTable *look, WORD *glyphs, IN
static INT GSUB_apply_ChainContextSubst(const OT_LookupList* lookup, const OT_LookupTable *look, WORD *glyphs, INT glyph_index, INT write_dir, INT *glyph_count)
{
int j;
- BOOL done = FALSE;
TRACE("Chaining Contextual Substitution Subtable\n");
- for (j = 0; j < GET_BE_WORD(look->SubTableCount) && !done; j++)
+ for (j = 0; j < GET_BE_WORD(look->SubTableCount); j++)
{
const GSUB_ChainContextSubstFormat1 *ccsf1;
int offset;
--
1.8.3.1
More information about the wine-patches
mailing list