texlive[44681] Build/source/texk/dvipdfm-x: dvipdfmx/spc_pdfm.c:
commits+kakuto at tug.org
commits+kakuto at tug.org
Sat Jun 24 16:58:36 CEST 2017
Revision: 44681
http://tug.org/svn/texlive?view=revision&revision=44681
Author: kakuto
Date: 2017-06-24 16:58:35 +0200 (Sat, 24 Jun 2017)
Log Message:
-----------
dvipdfmx/spc_pdfm.c: Remove unused variable attr in spc_handler_pdfm_image(), from S. Hirata
Modified Paths:
--------------
trunk/Build/source/texk/dvipdfm-x/ChangeLog
trunk/Build/source/texk/dvipdfm-x/spc_pdfm.c
Modified: trunk/Build/source/texk/dvipdfm-x/ChangeLog
===================================================================
--- trunk/Build/source/texk/dvipdfm-x/ChangeLog 2017-06-24 00:17:51 UTC (rev 44680)
+++ trunk/Build/source/texk/dvipdfm-x/ChangeLog 2017-06-24 14:58:35 UTC (rev 44681)
@@ -1,3 +1,7 @@
+2017-06-24 Shunsaku Hirata <shunsaku.hirata74 at gmail.com>
+
+ * spc_pdfm.c: Remove unused variable attr in spc_handler_pdfm_image().
+
2017-05-19 Karl Berry <karl at tug.org>
* Version 20170318 for TeX Live 2017 release.
Modified: trunk/Build/source/texk/dvipdfm-x/spc_pdfm.c
===================================================================
--- trunk/Build/source/texk/dvipdfm-x/spc_pdfm.c 2017-06-24 00:17:51 UTC (rev 44680)
+++ trunk/Build/source/texk/dvipdfm-x/spc_pdfm.c 2017-06-24 14:58:35 UTC (rev 44681)
@@ -1,6 +1,6 @@
/* This is dvipdfmx, an eXtended version of dvipdfm by Mark A. Wicks.
- Copyright (C) 2007-2016 by Jin-Hwan Cho and Shunsaku Hirata,
+ Copyright (C) 2007-2017 by Jin-Hwan Cho and Shunsaku Hirata,
the dvipdfmx project team.
Copyright (C) 1998, 1999 by Mark A. Wicks <mwicks at kettering.edu>
@@ -969,7 +969,7 @@
struct spc_pdf_ *sd = &_pdf_stat;
int xobj_id;
char *ident = NULL;
- pdf_obj *fspec, *attr = NULL;
+ pdf_obj *fspec;
transform_info ti;
load_options options = {1, 0, NULL};
@@ -1016,10 +1016,6 @@
skip_white(&args->curptr, args->endptr);
if (args->curptr < args->endptr) {
options.dict = parse_pdf_object(&args->curptr, args->endptr, NULL);
- if (!attr || !PDF_OBJ_DICTTYPE(attr)) {
- spc_warn(spe, "Ignore invalid attribute dictionary.");
- if (attr) pdf_release_obj(attr);
- }
}
xobj_id = pdf_ximage_findresource(pdf_string_value(fspec), options);
More information about the tex-live-commits
mailing list