about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2006-08-30T12·00+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2006-08-30T12·00+0000
commit3151bdea55ceb341b08998d2b29d9451e81c2143 (patch)
tree22635b28fa52ecc4d422e617dd50c6cbee8256c5 /src
parent547b119f25dea97ff06cf754f2720e11b50f079f (diff)
* Uninitialised variable.
Diffstat (limited to 'src')
-rw-r--r--src/libexpr/eval.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexpr/eval.cc b/src/libexpr/eval.cc
index 90edbecb50cd..e49dc0a3b966 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;