aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/config/operation.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2024-02-06 04:51:48 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2024-02-06 04:51:48 +0200
commit5b21820a4ad0f69290c6a20643640ff5fbf5021a (patch)
tree50947d50897e389fe29433cfda4fcbb633a1b21f /libbuild2/config/operation.cxx
parent0e1b73e3b43bca7c1d77ed669b364819ad211da9 (diff)
Fix bunch of maybe used uninitialized warnings
Diffstat (limited to 'libbuild2/config/operation.cxx')
-rw-r--r--libbuild2/config/operation.cxx3
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 ())