diff options
author | James Godfrey-Kittle <jamesgk@google.com> | 2015-02-04 17:27:31 -0800 |
---|---|---|
committer | James Godfrey-Kittle <jamesgk@google.com> | 2015-04-16 12:16:28 -0700 |
commit | 0f7c7c3f6b998a121b167888929f1c47669dc2dc (patch) | |
tree | 11d781392f8abb0f2c94df948b3a10a87d07f5f2 /scripts/lib/fontbuild/generateGlyph.py | |
parent | 3b5e819a1428c9a5525cb8ee5125f6d25638bd91 (diff) |
Remove initialization of unused variable
Diffstat (limited to 'scripts/lib/fontbuild/generateGlyph.py')
-rw-r--r-- | scripts/lib/fontbuild/generateGlyph.py | 1 |
1 files changed, 0 insertions, 1 deletions
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 |