Mercurial > vim
view ci/config.mk.clang-12.sed @ 34013:15d3f8eefaa3 v9.0.2185
patch 9.0.2185: Coverity complains about not checking return value
Commit: https://github.com/vim/vim/commit/6b9492e299c0b4ea76062160c4daf3985897f0b8
Author: Christian Brabandt <cb@256bit.org>
Date: Sun Dec 24 11:14:37 2023 +0100
patch 9.0.2185: Coverity complains about not checking return value
Problem: Coverity complains about not checking return value
in compare_isn_not_values (after 9.0.2184)
Solution: cast return value to "(void)" to make intention clear
closes: #13751
Signed-off-by: Christian Brabandt <cb@256bit.org>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 24 Dec 2023 11:30:02 +0100 |
parents | 9b35b4c6df4c |
children |
line wrap: on
line source
# Clang 12 (or Apple clang 13) and later makes a warning '-Wcompound-token-split-by-macro' enable by default. /^PERL_CFLAGS_EXTRA[[:blank:]]*=/s/$/ -Wno-error=compound-token-split-by-macro -Wno-compound-token-split-by-macro/ /^RUBY_CFLAGS_EXTRA[[:blank:]]*=/s/$/ -Wno-error=compound-token-split-by-macro/