]> Savannah Git Hosting - gnulib.git/commit
regex-tests: tweak to avoid a clang-10 warning
authorJim Meyering <meyering@fb.com>
Wed, 30 Dec 2020 04:00:36 +0000 (20:00 -0800)
committerJim Meyering <meyering@fb.com>
Wed, 30 Dec 2020 04:00:36 +0000 (20:00 -0800)
commit18d02b74c859f374ec0975d7c40eb0171bf07513
treed67f1c305447efff67ad4f4d1ede3190f4c62037
parent7fa203018d02d8f2b71a6be1240c3963a63cab1c
regex-tests: tweak to avoid a clang-10 warning

* tests/test-regex.c: Compare with explicit zero, rather than
as boolean to avoid this from clang-10:
test-regex.c:315:9: error: converting the result of '<<' to a \
  boolean always evaluates to true \
  [-Werror,-Wtautological-constant-compare]
if (! REG_STARTEND)
ChangeLog
tests/test-regex.c