]> git.notmuchmail.org Git - notmuch/commitdiff
build: fix unbound variable in configure
authorJan Malakhovski <oxij@oxij.org>
Thu, 31 Aug 2017 11:46:34 +0000 (11:46 +0000)
committerDavid Bremner <david@tethera.net>
Thu, 31 Aug 2017 13:09:02 +0000 (10:09 -0300)
Commentary by db:

This missing initialization caused configure to crash, and hence the
build to fail in environments without cppcheck.

configure

index 364854f3d936ac3a2861cd03fbf622cba7793c15..c0a550c7f9fd74402ab42974075ddd40ac88cc47 100755 (executable)
--- a/configure
+++ b/configure
@@ -651,6 +651,7 @@ if command -v cppcheck > /dev/null; then
     have_cppcheck=1
     printf "Yes.\n"
 else
+    have_cppcheck=0
     printf "No.\n"
 fi