From 0f7c7c3f6b998a121b167888929f1c47669dc2dc Mon Sep 17 00:00:00 2001 From: James Godfrey-Kittle Date: Wed, 4 Feb 2015 17:27:31 -0800 Subject: Remove initialization of unused variable --- scripts/lib/fontbuild/generateGlyph.py | 1 - 1 file changed, 1 deletion(-) (limited to 'scripts/lib/fontbuild') diff --git a/scripts/lib/fontbuild/generateGlyph.py b/scripts/lib/fontbuild/generateGlyph.py index c4388fb..0bf25a1 100644 --- a/scripts/lib/fontbuild/generateGlyph.py +++ b/scripts/lib/fontbuild/generateGlyph.py @@ -20,7 +20,6 @@ def generateGlyph(f,gname): glyphName, baseName, accentNames, offset = parseComposite(gname) if baseName.find("_") != -1: g = f.newGlyph(glyphName) - lastWidth = 0 for componentName in baseName.split("_"): g.appendComponent(componentName, (g.width, 0)) g.width += f[componentName].width -- cgit v1.2.3