summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Build/source/texk/bibtex-x/ChangeLog4
-rw-r--r--Build/source/texk/bibtex-x/bibtex-2.c6
2 files changed, 7 insertions, 3 deletions
diff --git a/Build/source/texk/bibtex-x/ChangeLog b/Build/source/texk/bibtex-x/ChangeLog
index 3b5b76f0871..4675b4d1642 100644
--- a/Build/source/texk/bibtex-x/ChangeLog
+++ b/Build/source/texk/bibtex-x/ChangeLog
@@ -1,3 +1,7 @@
+2019-03-04 Hironobu Yamashita <h.y.acetaminophen@gmail.com>
+
+ * bibtex-2.c: Suppress compiler warnings.
+
2017-04-27 Karl Berry <karl@tug.org>
* Makefile.am (bibtexu_LDADD): add $(ICU_LIBS_EXTRA).
diff --git a/Build/source/texk/bibtex-x/bibtex-2.c b/Build/source/texk/bibtex-x/bibtex-2.c
index 5280e408d05..c0a97abd5fc 100644
--- a/Build/source/texk/bibtex-x/bibtex-2.c
+++ b/Build/source/texk/bibtex-x/bibtex-2.c
@@ -1564,9 +1564,10 @@ BEGIN
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 @@ Cite_Already_Set_Label: DO_NOTHING;
END
/*^^^^^^^^^^^^^^^^^^^^^^^^^^ END OF SECTION 267 ^^^^^^^^^^^^^^^^^^^^^^^^^^^*/
- END
END
/*^^^^^^^^^^^^^^^^^^^^^^^^^^ END OF SECTION 266 ^^^^^^^^^^^^^^^^^^^^^^^^^^^*/
@@ -3315,7 +3315,7 @@ BEGIN
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;