summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/ptexdir
diff options
context:
space:
mode:
authorHironobu Yamashita <h.y.acetaminophen@gmail.com>2020-05-17 01:39:59 +0000
committerHironobu Yamashita <h.y.acetaminophen@gmail.com>2020-05-17 01:39:59 +0000
commit7105e56f94580ea22bc77ef9cf0b15272d146c77 (patch)
tree5bf06bd2a2d2f17295620faa4b4ed1ebc42b043b /Build/source/texk/web2c/ptexdir
parentbbb040fcce54f25f0b7fe710857901963b4a1519 (diff)
pmpostdir, ptexdir: avoid compiler warnings
git-svn-id: svn://tug.org/texlive/trunk@55174 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/ptexdir')
-rw-r--r--Build/source/texk/web2c/ptexdir/ChangeLog5
-rw-r--r--Build/source/texk/web2c/ptexdir/ppltotf.ch8
2 files changed, 9 insertions, 4 deletions
diff --git a/Build/source/texk/web2c/ptexdir/ChangeLog b/Build/source/texk/web2c/ptexdir/ChangeLog
index 0c640c96592..8b03e94637b 100644
--- a/Build/source/texk/web2c/ptexdir/ChangeLog
+++ b/Build/source/texk/web2c/ptexdir/ChangeLog
@@ -1,3 +1,8 @@
+2020-05-17 Hironobu Yamashita <h.y.acetaminophen@gmail.com>
+
+ * ppltotf.ch: Avoid compiler warnings: equality comparison with
+ extraneous parentheses.
+
2020-05-05 Hironori Kitagawa <h_kitagawa2001@yahoo.co.jp>
* ptex-base.ch: Improved resetting inhibit_glue_flag in extensions.
diff --git a/Build/source/texk/web2c/ptexdir/ppltotf.ch b/Build/source/texk/web2c/ptexdir/ppltotf.ch
index cb9aafa10b6..b7db0e67048 100644
--- a/Build/source/texk/web2c/ptexdir/ppltotf.ch
+++ b/Build/source/texk/web2c/ptexdir/ppltotf.ch
@@ -384,14 +384,14 @@ for kanji_type_index:=0 to max_kanji do kanji_type[kanji_type_index]:=-1;
ng:=0;
@ @<If is jfm or vfm then print error@>=
-if (file_format>tfm_format) then
+if file_format>tfm_format then
err_print('This is an illegal command for kanji format files.')
-else if (file_format=undefined) then file_format:=tfm_format
+else if file_format=undefined then file_format:=tfm_format
@ @<If is tfm then print error@>=
-if (file_format=tfm_format) then
+if file_format=tfm_format then
err_print('You can use this command only for kanji format files.')
-else if (file_format=undefined) then file_format:=jfm_or_vfm
+else if file_format=undefined then file_format:=jfm_or_vfm
@ These are extended propaties for \.{JFM}.