This is an automated email from the ASF dual-hosted git repository.

dkulp pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/avro.git


The following commit(s) were added to refs/heads/master by this push:
     new ae84185  Since the workflow really wants to use cmake 3.21, but that 
breaks cppcheck, just cppcheck the directories where we have C++/H files.
ae84185 is described below

commit ae84185254c70ada10ad93dbc7b362f934b05254
Author: Daniel Kulp <[email protected]>
AuthorDate: Thu Sep 9 17:32:28 2021 -0400

    Since the workflow really wants to use cmake 3.21, but that breaks 
cppcheck, just cppcheck the directories where we have C++/H files.
---
 lang/c++/build.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lang/c++/build.sh b/lang/c++/build.sh
index 1993316..4d9fcce 100755
--- a/lang/c++/build.sh
+++ b/lang/c++/build.sh
@@ -79,7 +79,7 @@ case "$target" in
   lint)
     # some versions of cppcheck seem to require an explicit
     # "--error-exitcode" option to return non-zero code
-    cppcheck --error-exitcode=1 --inline-suppr -f -q -x c++ .
+    cppcheck --error-exitcode=1 --inline-suppr -f -q -x c++ api examples impl 
test
     ;;
 
   test)

Reply via email to