summaryrefslogtreecommitdiff
path: root/Build/source
diff options
context:
space:
mode:
authorHironobu Yamashita <h.y.acetaminophen@gmail.com>2019-03-04 10:16:54 +0000
committerHironobu Yamashita <h.y.acetaminophen@gmail.com>2019-03-04 10:16:54 +0000
commit42910b9e5b267d68445ddc32c2e77cada1736b8e (patch)
tree8adb1d375fb9f1160fe7cfd53e801e9d21d7d2c3 /Build/source
parentfc1b6758e0ab0b8694619a9b6d75a1e9ebc04858 (diff)
bibtex8: suppress compiler warnings
git-svn-id: svn://tug.org/texlive/trunk@50221 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source')
-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;