diff options
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 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; |