diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2024-02-06 04:51:48 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2024-02-06 04:51:48 +0200 |
commit | 5b21820a4ad0f69290c6a20643640ff5fbf5021a (patch) | |
tree | 50947d50897e389fe29433cfda4fcbb633a1b21f /libbuild2/parser.cxx | |
parent | 0e1b73e3b43bca7c1d77ed669b364819ad211da9 (diff) |
Fix bunch of maybe used uninitialized warnings
Diffstat (limited to 'libbuild2/parser.cxx')
-rw-r--r-- | libbuild2/parser.cxx | 2 |
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))) && |