summaryrefslogtreecommitdiff
path: root/Build/source
diff options
context:
space:
mode:
authorAkira Kakuto <kakuto@fuk.kindai.ac.jp>2018-03-02 04:37:47 +0000
committerAkira Kakuto <kakuto@fuk.kindai.ac.jp>2018-03-02 04:37:47 +0000
commit318fbc7e5ced2650047338271c52267ca92cb410 (patch)
treee94cb9ee514dd7b6ad0ee5feb5b27e348400db0a /Build/source
parentb3cc7572f083686619117ddce21714007f1cc779 (diff)
remove multiple warnings
git-svn-id: svn://tug.org/texlive/trunk@46784 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source')
-rw-r--r--Build/source/texk/dvipdfm-x/ChangeLog4
-rw-r--r--Build/source/texk/dvipdfm-x/epdf.c6
-rw-r--r--Build/source/texk/dvipdfm-x/pdfobj.c9
-rw-r--r--Build/source/texk/dvipdfm-x/pdfobj.h1
4 files changed, 4 insertions, 16 deletions
diff --git a/Build/source/texk/dvipdfm-x/ChangeLog b/Build/source/texk/dvipdfm-x/ChangeLog
index c4bd4f1f0a4..a26a1dd6ee8 100644
--- a/Build/source/texk/dvipdfm-x/ChangeLog
+++ b/Build/source/texk/dvipdfm-x/ChangeLog
@@ -1,3 +1,7 @@
+2018-03-02 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
+
+ * epdf.c, pdfobj.c, pdfobj.h: Remove multiple warnings.
+
2018-03-01 Hironobu Yamashita <h.y.acetaminophen@gmail.com>
* pdfobj.c: Fix typo and improve a warning (incomplete fix).
diff --git a/Build/source/texk/dvipdfm-x/epdf.c b/Build/source/texk/dvipdfm-x/epdf.c
index 00af7a252a9..fcd8abcf5c7 100644
--- a/Build/source/texk/dvipdfm-x/epdf.c
+++ b/Build/source/texk/dvipdfm-x/epdf.c
@@ -402,12 +402,6 @@ pdf_include_page (pdf_ximage *ximage,
if (!pf)
return -1;
- if (pdf_file_check_version(pf, pdf_get_version()) < 0) {
- WARN("Trying to include PDF file which has newer version number " \
- "than output PDF: %d.%d.",
- pdf_get_version_major(), pdf_get_version_minor());
- }
-
pdf_ximage_init_form_info(&info);
if (options.page_no == 0)
diff --git a/Build/source/texk/dvipdfm-x/pdfobj.c b/Build/source/texk/dvipdfm-x/pdfobj.c
index 87f5d99dbb1..e51cbe0227a 100644
--- a/Build/source/texk/dvipdfm-x/pdfobj.c
+++ b/Build/source/texk/dvipdfm-x/pdfobj.c
@@ -3745,13 +3745,6 @@ pdf_file_get_version (pdf_file *pf)
return pf->version;
}
-int
-pdf_file_check_version (pdf_file *pf, int version)
-{
- ASSERT(pf);
- return (pf->version >= version ? 0 : -1);
-}
-
pdf_obj *
pdf_file_get_trailer (pdf_file *pf)
{
@@ -3873,8 +3866,6 @@ check_for_pdf (FILE *file)
if (version <= pdf_version)
return 1;
- WARN("Version of PDF file (%d.%d) is newer than version limit specification.",
- version/10, version%10);
return 1;
}
diff --git a/Build/source/texk/dvipdfm-x/pdfobj.h b/Build/source/texk/dvipdfm-x/pdfobj.h
index 8012e38bdf2..90f6da26aed 100644
--- a/Build/source/texk/dvipdfm-x/pdfobj.h
+++ b/Build/source/texk/dvipdfm-x/pdfobj.h
@@ -192,7 +192,6 @@ extern void pdf_close (pdf_file *pf);
extern pdf_obj *pdf_file_get_trailer (pdf_file *pf);
extern pdf_obj *pdf_file_get_catalog (pdf_file *pf);
extern int pdf_file_get_version (pdf_file *pf);
-extern int pdf_file_check_version (pdf_file *pf, int version);
extern pdf_obj *pdf_deref_obj (pdf_obj *object);
extern pdf_obj *pdf_import_object (pdf_obj *object);