From 5b21820a4ad0f69290c6a20643640ff5fbf5021a Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 6 Feb 2024 04:51:48 +0200 Subject: Fix bunch of maybe used uninitialized warnings --- libbuild2/parser.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libbuild2/parser.cxx') 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))) && -- cgit v1.1