From 3151bdea55ceb341b08998d2b29d9451e81c2143 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 30 Aug 2006 12:00:27 +0000 Subject: * Uninitialised variable. --- src/libexpr/eval.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libexpr/eval.cc b/src/libexpr/eval.cc index 90edbecb5..e49dc0a3b 100644 --- a/src/libexpr/eval.cc +++ b/src/libexpr/eval.cc @@ -521,7 +521,7 @@ Expr evalExpr2(EvalState & state, Expr e) /* Backwards compatability: subpath operator (~). */ if (matchSubPath(e, e1, e2)) { - static bool haveWarned; + static bool haveWarned = false; warnOnce(haveWarned, "the subpath operator (~) is deprecated, use string concatenation (+) instead"); ATermList context = ATempty; bool dummy; -- cgit v1.2.3