Skip to content

Commit 70fb40f

Browse files
committed
MNT: remove unused variable / extra typedef
1 parent 8f64165 commit 70fb40f

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/ft2font_wrapper.cpp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -170,9 +170,6 @@ static PyTypeObject PyGlyphType;
170170

171171
static PyObject *PyGlyph_from_FT2Font(FT2Font *font, FT2Font *parent_ft_object)
172172
{
173-
const FT_Face &face = font->get_face();
174-
const FT_Glyph &glyph = font->get_last_glyph();
175-
size_t ind = font->get_last_glyph_index();
176173
const long hinting_factor = font->get_hinting_factor();
177174

178175
PyGlyph *self;
@@ -240,7 +237,7 @@ static PyTypeObject *PyGlyph_init_type()
240237
* FT2Font
241238
* */
242239

243-
typedef struct PyFT2Font
240+
struct PyFT2Font
244241
{
245242
PyObject_HEAD
246243
FT2Font *x;

0 commit comments

Comments
 (0)