texlive[50221] Build/source/texk/bibtex-x: bibtex8: suppress compiler

commits+hironobu at tug.org commits+hironobu at tug.org
Mon Mar 4 11:16:55 CET 2019


Revision: 50221
          http://tug.org/svn/texlive?view=revision&revision=50221
Author:   hironobu
Date:     2019-03-04 11:16:54 +0100 (Mon, 04 Mar 2019)
Log Message:
-----------
bibtex8: suppress compiler warnings

Modified Paths:
--------------
    trunk/Build/source/texk/bibtex-x/ChangeLog
    trunk/Build/source/texk/bibtex-x/bibtex-2.c

Modified: trunk/Build/source/texk/bibtex-x/ChangeLog
===================================================================
--- trunk/Build/source/texk/bibtex-x/ChangeLog	2019-03-04 01:23:45 UTC (rev 50220)
+++ trunk/Build/source/texk/bibtex-x/ChangeLog	2019-03-04 10:16:54 UTC (rev 50221)
@@ -1,3 +1,7 @@
+2019-03-04  Hironobu Yamashita  <h.y.acetaminophen at gmail.com>
+
+	* bibtex-2.c: Suppress compiler warnings.
+
 2017-04-27  Karl Berry  <karl at tug.org>
 
 	* Makefile.am (bibtexu_LDADD): add $(ICU_LIBS_EXTRA).

Modified: trunk/Build/source/texk/bibtex-x/bibtex-2.c
===================================================================
--- trunk/Build/source/texk/bibtex-x/bibtex-2.c	2019-03-04 01:23:45 UTC (rev 50220)
+++ trunk/Build/source/texk/bibtex-x/bibtex-2.c	2019-03-04 10:16:54 UTC (rev 50221)
@@ -1564,9 +1564,10 @@
 	DO_NOTHING;
       END
     END
-    else if (scan2_white (COMMA, RIGHT_BRACE));
+    else if (scan2_white (COMMA, RIGHT_BRACE))
     BEGIN
       DO_NOTHING;
+    END
 
 /***************************************************************************
  * WEB section number:	267
@@ -1794,7 +1795,6 @@
       END
 /*^^^^^^^^^^^^^^^^^^^^^^^^^^ END OF SECTION 267 ^^^^^^^^^^^^^^^^^^^^^^^^^^^*/
 
-    END
   END
 /*^^^^^^^^^^^^^^^^^^^^^^^^^^ END OF SECTION 266 ^^^^^^^^^^^^^^^^^^^^^^^^^^^*/
 
@@ -3315,7 +3315,7 @@
 	      if ((ex_buf[ex_buf_ptr + 1] == 'd')
 		    || (ex_buf[ex_buf_ptr + 1] == 'D'))
               BEGIN
-	        if ((lex_class[ex_buf[ex_buf_ptr + 2]] == WHITE_SPACE))
+	        if (lex_class[ex_buf[ex_buf_ptr + 2]] == WHITE_SPACE)
                 BEGIN
                   ex_buf_ptr = ex_buf_ptr + 2;
                   and_found = TRUE;



More information about the tex-live-commits mailing list