aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/parser.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/parser.cxx')
-rw-r--r--libbuild2/parser.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbuild2/parser.cxx b/libbuild2/parser.cxx
index b695018..eb78059 100644
--- a/libbuild2/parser.cxx
+++ b/libbuild2/parser.cxx
@@ -8312,7 +8312,7 @@ namespace build2
// get the variable name even during pre-parse. It should also
// be faster.
//
- char c;
+ char c ('\0');
if ((tt == type::word
? path_traits::rfind_separator (t.value) == string::npos
: (c = special (t))) &&