From 3b31893d737c55329f5d52e7b107804d8da4dde8 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 8 Mar 2023 13:15:54 +0200 Subject: Fix uninitialized variable bug --- libbuild2/cc/pkgconfig.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libbuild2/cc/pkgconfig.cxx') 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)) -- cgit v1.1