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/config | |
parent | 0e1b73e3b43bca7c1d77ed669b364819ad211da9 (diff) |
Fix bunch of maybe used uninitialized warnings
Diffstat (limited to 'libbuild2/config')
-rw-r--r-- | libbuild2/config/operation.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libbuild2/config/operation.cxx b/libbuild2/config/operation.cxx index b06c29d..5983e4b 100644 --- a/libbuild2/config/operation.cxx +++ b/libbuild2/config/operation.cxx @@ -134,7 +134,8 @@ namespace build2 bool r; if (c.compare (p, 4 , "save") == 0) r = true; else if (c.compare (p, 4 , "drop") == 0) r = false; - else fail << "invalid config.config.persist action '" << c << "'"; + else fail << "invalid config.config.persist action '" << c << "'" + << endf; bool w (false); if ((p += 4) != c.size ()) |