diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2014-08-04 08:59:57 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2014-08-04 08:59:57 +0000 |
commit | 846c22ca75fdcb4f76a5ce5fe33173c8c93cb2e4 (patch) | |
tree | 66ebff372752cefa847fa63ffdf8ec7f8c9fca73 /Build | |
parent | 1e33cce520ec961287eb72234c7f09648ff2ac56 (diff) |
texk/dvipdfm-x: Drop unused variables
git-svn-id: svn://tug.org/texlive/trunk@34834 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-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; |