[Openvpn-devel,v2] run-cppcheck.sh: Make CPPCHECK_CHECK_LEVEL=normal the default

Message ID 20261026141235.3970-1-gert@greenie.muc.de
State New
Headers
Series [Openvpn-devel,v2] run-cppcheck.sh: Make CPPCHECK_CHECK_LEVEL=normal the default |

Commit Message

Gert Doering Oct. 26, 2026, 2:12 p.m. UTC
  From: Frank Lichtenheld <frank@lichtenheld.com>

exhaustive is generally not usable since it runs for hours.
So avoid confusion by choosing a sane default.

Change-Id: Id206b12bd67c0b8a014a2c62277b43b18debfd43
Signed-off-by: Frank Lichtenheld <frank@lichtenheld.com>
Acked-by: Razvan Cojocaru <razvanc@mailbox.org>
Acked-by: Arne Schwabe <arne-openvpn@rfc2549.org>
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/2033
---

This change was reviewed on Gerrit and approved by at least one
developer. I request to merge it to master.

Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/2033
This mail reflects revision 2 of this Change.

Acked-by according to Gerrit (reflected above):
Razvan Cojocaru <razvanc@mailbox.org>
Arne Schwabe <arne-openvpn@rfc2549.org>
  

Patch

diff --git a/dev-tools/run-cppcheck.sh b/dev-tools/run-cppcheck.sh
index a9c4643..07c0a6f 100755
--- a/dev-tools/run-cppcheck.sh
+++ b/dev-tools/run-cppcheck.sh
@@ -3,7 +3,7 @@ 
 set -eu
 
 : ${CPPCHECK_VERBOSE:=false}
-: ${CPPCHECK_CHECK_LEVEL:=exhaustive}
+: ${CPPCHECK_CHECK_LEVEL:=normal}
 
 if "${CPPCHECK_VERBOSE}"; then
     verbosity_arg="-v"