texlive[55174] Build/source/texk/web2c: pmpostdir, ptexdir: avoid
commits+hironobu at tug.org
commits+hironobu at tug.org
Sun May 17 03:40:00 CEST 2020
Revision: 55174
http://tug.org/svn/texlive?view=revision&revision=55174
Author: hironobu
Date: 2020-05-17 03:39:59 +0200 (Sun, 17 May 2020)
Log Message:
-----------
pmpostdir, ptexdir: avoid compiler warnings
Modified Paths:
--------------
trunk/Build/source/texk/web2c/pmpostdir/ChangeLog
trunk/Build/source/texk/web2c/pmpostdir/pmp.ch
trunk/Build/source/texk/web2c/ptexdir/ChangeLog
trunk/Build/source/texk/web2c/ptexdir/ppltotf.ch
Modified: trunk/Build/source/texk/web2c/pmpostdir/ChangeLog
===================================================================
--- trunk/Build/source/texk/web2c/pmpostdir/ChangeLog 2020-05-16 22:42:17 UTC (rev 55173)
+++ trunk/Build/source/texk/web2c/pmpostdir/ChangeLog 2020-05-17 01:39:59 UTC (rev 55174)
@@ -1,3 +1,8 @@
+2020-05-17 Hironobu Yamashita <h.y.acetaminophen at gmail.com>
+
+ * pmp.ch: Avoid a compiler warning: equality comparison with
+ extraneous parentheses.
+
2020-02-23 Akira Kakuto <kakuto at w32tex.org>
* pmp.ch: Bump upmpost version to 2.00-0.04-u1.26.
Modified: trunk/Build/source/texk/web2c/pmpostdir/pmp.ch
===================================================================
--- trunk/Build/source/texk/web2c/pmpostdir/pmp.ch 2020-05-16 22:42:17 UTC (rev 55173)
+++ trunk/Build/source/texk/web2c/pmpostdir/pmp.ch 2020-05-17 01:39:59 UTC (rev 55174)
@@ -348,9 +348,9 @@
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;
Modified: trunk/Build/source/texk/web2c/ptexdir/ChangeLog
===================================================================
--- trunk/Build/source/texk/web2c/ptexdir/ChangeLog 2020-05-16 22:42:17 UTC (rev 55173)
+++ trunk/Build/source/texk/web2c/ptexdir/ChangeLog 2020-05-17 01:39:59 UTC (rev 55174)
@@ -1,3 +1,8 @@
+2020-05-17 Hironobu Yamashita <h.y.acetaminophen at gmail.com>
+
+ * ppltotf.ch: Avoid compiler warnings: equality comparison with
+ extraneous parentheses.
+
2020-05-05 Hironori Kitagawa <h_kitagawa2001 at yahoo.co.jp>
* ptex-base.ch: Improved resetting inhibit_glue_flag in extensions.
Modified: trunk/Build/source/texk/web2c/ptexdir/ppltotf.ch
===================================================================
--- trunk/Build/source/texk/web2c/ptexdir/ppltotf.ch 2020-05-16 22:42:17 UTC (rev 55173)
+++ trunk/Build/source/texk/web2c/ptexdir/ppltotf.ch 2020-05-17 01:39:59 UTC (rev 55174)
@@ -384,14 +384,14 @@
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}.
More information about the tex-live-commits
mailing list.