[PATCH] configure: add missing initialization of have_cppcheck

Subject: [PATCH] configure: add missing initialization of have_cppcheck

Date: Thu, 31 Aug 2017 10:02:54 -0300

To: notmuch@notmuchmail.org

Cc:

From: David Bremner


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

_______________________________________________
notmuch mailing list
notmuch@notmuchmail.org
https://notmuchmail.org/mailman/listinfo/notmuch

Thread: