[GPOS] Remove unused variables
authorBehdad Esfahbod <behdad@behdad.org>
Wed, 27 May 2009 02:26:08 +0000 (22:26 -0400)
committerBehdad Esfahbod <behdad@behdad.org>
Mon, 2 Nov 2009 19:40:21 +0000 (14:40 -0500)
src/hb-ot-layout-gpos-private.h

index a67de24..37c74bf 100644 (file)
@@ -675,11 +675,10 @@ struct CursivePosFormat1
 
     const EntryExitRecord &record = entryExitRecord[index];
 
-    hb_position_t entry_x, entry_y, exit_x, exit_y;
-
     if (last_pos == HB_OT_LAYOUT_GPOS_NO_LAST || !record.entryAnchor)
       goto end;
 
+    hb_position_t entry_x, entry_y;
     (this+record.entryAnchor).get_anchor (layout, IN_CURGLYPH (), &entry_x, &entry_y);
 
     if (gpi->r2l)