diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2006-08-30 12:00:27 +0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2006-08-30 12:00:27 +0000 |
commit | 3151bdea55ceb341b08998d2b29d9451e81c2143 (patch) | |
tree | 22635b28fa52ecc4d422e617dd50c6cbee8256c5 /src/libexpr/eval.cc | |
parent | 547b119f25dea97ff06cf754f2720e11b50f079f (diff) |
* Uninitialised variable.
Diffstat (limited to 'src/libexpr/eval.cc')
-rw-r--r-- | src/libexpr/eval.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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; |