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/cc | |
parent | 0e1b73e3b43bca7c1d77ed669b364819ad211da9 (diff) |
Fix bunch of maybe used uninitialized warnings
Diffstat (limited to 'libbuild2/cc')
-rw-r--r-- | libbuild2/cc/common.cxx | 2 | ||||
-rw-r--r-- | libbuild2/cc/pkgconfig.cxx | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/libbuild2/cc/common.cxx b/libbuild2/cc/common.cxx index 7306274..44722c4 100644 --- a/libbuild2/cc/common.cxx +++ b/libbuild2/cc/common.cxx @@ -643,7 +643,7 @@ namespace build2 << " dependency " << *t << " is " << w << info << "mentioned in *.export." << (impl ? "impl_" : "") << "libs of target " << l << - info << "is it a prerequisite of " << l << "?"; + info << "is it a prerequisite of " << l << "?" << endf; } // Process it recursively. diff --git a/libbuild2/cc/pkgconfig.cxx b/libbuild2/cc/pkgconfig.cxx index d8ccaad..046fbc8 100644 --- a/libbuild2/cc/pkgconfig.cxx +++ b/libbuild2/cc/pkgconfig.cxx @@ -2008,7 +2008,8 @@ namespace build2 } catch (const invalid_argument& e) { - fail << "invalid metadata version in library " << g << ": " << e; + fail << "invalid metadata version in library " << g << ": " << e + << endf; } if (ver != 1) |