[PATCH] configure: add missing initialization of have_cppcheck

David Bremner david at tethera.net
Thu Aug 31 06:02:54 PDT 2017


This missing initialization causes configure to crash, and hence the
build to fail in environments without cppcheck.
---
 configure | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configure b/configure
index 364854f3..3ca1fcab 100755
--- a/configure
+++ b/configure
@@ -646,6 +646,7 @@ if [ $WITH_DESKTOP = "1" ]; then
     fi
 fi
 
+have_cppcheck=0
 printf "Checking for cppcheck... "
 if command -v cppcheck > /dev/null; then
     have_cppcheck=1
-- 
2.11.0



More information about the notmuch mailing list