diff options
Diffstat (limited to 'Build/source')
-rw-r--r-- | Build/source/texk/dvipdfm-x/ChangeLog | 4 | ||||
-rw-r--r-- | Build/source/texk/dvipdfm-x/tt_cmap.c | 6 |
2 files changed, 6 insertions, 4 deletions
diff --git a/Build/source/texk/dvipdfm-x/ChangeLog b/Build/source/texk/dvipdfm-x/ChangeLog index f8c5c931ec5..0fa07b55a42 100644 --- a/Build/source/texk/dvipdfm-x/ChangeLog +++ b/Build/source/texk/dvipdfm-x/ChangeLog @@ -1,3 +1,7 @@ +2014-08-04 Peter Breitenlohner <peb@mppmu.mpg.de> + + * tt_cmap.c (create_ToUnicode_cmap): Drop unused variables. + 2014-08-04 Jiang Jiang <gzjjgod@gmail.com> * cff.c (cff_get_glyphname): Remove duplicated cff_read_charsets() diff --git a/Build/source/texk/dvipdfm-x/tt_cmap.c b/Build/source/texk/dvipdfm-x/tt_cmap.c index 21b37eb5f31..db291fbaee4 100644 --- a/Build/source/texk/dvipdfm-x/tt_cmap.c +++ b/Build/source/texk/dvipdfm-x/tt_cmap.c @@ -1093,7 +1093,7 @@ create_ToUnicode_cmap (tt_cmap *ttcmap, { pdf_obj *stream = NULL; CMap *cmap; - USHORT i, gid, ch, count = 0; + USHORT i, gid, count = 0; char used_glyphs_copy[8192]; cff_font *cffont = prepare_CIDFont_from_sfnt(sfont); char is_cidfont = (cffont->flag & FONTTYPE_CIDFONT); @@ -1108,9 +1108,7 @@ create_ToUnicode_cmap (tt_cmap *ttcmap, if (cmap_loaded && cffont && is_cidfont) { for (i = 0; i < 8192; i++) { int j; - long len, inbytesleft, outbytesleft; - const unsigned char *inbuf; - unsigned char *outbuf; + long len; if (used_glyphs[i] == 0) continue; |