summaryrefslogtreecommitdiff
path: root/Build
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
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')
-rw-r--r--Build/source/texk/web2c/pmpostdir/ChangeLog5
-rw-r--r--Build/source/texk/web2c/pmpostdir/pmp.ch4
-rw-r--r--Build/source/texk/web2c/ptexdir/ChangeLog5
-rw-r--r--Build/source/texk/web2c/ptexdir/ppltotf.ch8
4 files changed, 16 insertions, 6 deletions
diff --git a/Build/source/texk/web2c/pmpostdir/ChangeLog b/Build/source/texk/web2c/pmpostdir/ChangeLog
index 621dcd4138b..05871658669 100644
--- a/Build/source/texk/web2c/pmpostdir/ChangeLog
+++ b/Build/source/texk/web2c/pmpostdir/ChangeLog
@@ -1,3 +1,8 @@
+2020-05-17 Hironobu Yamashita <h.y.acetaminophen@gmail.com>
+
+ * pmp.ch: Avoid a compiler warning: equality comparison with
+ extraneous parentheses.
+
2020-02-23 Akira Kakuto <kakuto@w32tex.org>
* pmp.ch: Bump upmpost version to 2.00-0.04-u1.26.
diff --git a/Build/source/texk/web2c/pmpostdir/pmp.ch b/Build/source/texk/web2c/pmpostdir/pmp.ch
index e54fbf84fb5..cf7e30a7555 100644
--- a/Build/source/texk/web2c/pmpostdir/pmp.ch
+++ b/Build/source/texk/web2c/pmpostdir/pmp.ch
@@ -348,9 +348,9 @@ static int mp_lookup_ctype (MP mp,font_number f, integer c)
while ( l<u ) {
r=(l+u)/2;
ch=ctype_char(f)(r);
- if ( (ch==c) ) {
+ if ( ch==c ) {
return ctype_type(f)(r);};
- if ( (ch<c) ) l=r+1;
+ if ( ch<c ) l=r+1;
else u=r-1;
};
return 0;
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}.