diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2023-03-08 13:15:54 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2023-03-08 13:15:54 +0200 |
commit | 3b31893d737c55329f5d52e7b107804d8da4dde8 (patch) | |
tree | f96cf17246d7ea143ee69dc8b212a9b5c054146c /libbuild2 | |
parent | e7fa710dd90999702755141c4e704c2d609f9a07 (diff) |
Fix uninitialized variable bug
Diffstat (limited to 'libbuild2')
-rw-r--r-- | libbuild2/cc/pkgconfig.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbuild2/cc/pkgconfig.cxx b/libbuild2/cc/pkgconfig.cxx index 62680d3..b06d488 100644 --- a/libbuild2/cc/pkgconfig.cxx +++ b/libbuild2/cc/pkgconfig.cxx @@ -437,7 +437,7 @@ namespace build2 // library. What we do at the moment is stop recognizing just library // names (without -l) after seeing an unknown option. // - bool first (true), known (true), have_L; + bool first (true), known (true), have_L (false); char arg ('\0'); // Option with pending argument. for (auto& o: pc.libs (la)) |