diff options
author | Hironobu Yamashita <h.y.acetaminophen@gmail.com> | 2020-05-17 01:39:59 +0000 |
---|---|---|
committer | Hironobu Yamashita <h.y.acetaminophen@gmail.com> | 2020-05-17 01:39:59 +0000 |
commit | 7105e56f94580ea22bc77ef9cf0b15272d146c77 (patch) | |
tree | 5bf06bd2a2d2f17295620faa4b4ed1ebc42b043b /Build/source/texk/web2c/pmpostdir | |
parent | bbb040fcce54f25f0b7fe710857901963b4a1519 (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/pmpostdir')
-rw-r--r-- | Build/source/texk/web2c/pmpostdir/ChangeLog | 5 | ||||
-rw-r--r-- | Build/source/texk/web2c/pmpostdir/pmp.ch | 4 |
2 files changed, 7 insertions, 2 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; |