summaryrefslogtreecommitdiff
path: root/src/buildtool/serve_api/serve_service/target.cpp
diff options
context:
space:
mode:
authorPaul Cristian Sarbu <paul.cristian.sarbu@huawei.com>2024-03-13 16:11:13 +0100
committerPaul Cristian Sarbu <paul.cristian.sarbu@huawei.com>2024-03-19 10:31:33 +0100
commit076679656b13c7179523211959a58a804d0dcdc9 (patch)
treeaac96ee275fd95b5bb89a6927fee44b9245f76d1 /src/buildtool/serve_api/serve_service/target.cpp
parent70bf05ffeb9ef01a72a150abc3e3a4b89f451117 (diff)
downloadjustbuild-076679656b13c7179523211959a58a804d0dcdc9.tar.gz
just analysis: Be explicit in logging location
...by allowing a Logger instance to be provided.
Diffstat (limited to 'src/buildtool/serve_api/serve_service/target.cpp')
-rw-r--r--src/buildtool/serve_api/serve_service/target.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/buildtool/serve_api/serve_service/target.cpp b/src/buildtool/serve_api/serve_service/target.cpp
index f5773aac..23b3988a 100644
--- a/src/buildtool/serve_api/serve_service/target.cpp
+++ b/src/buildtool/serve_api/serve_service/target.cpp
@@ -404,8 +404,8 @@ auto TargetService::ServeTarget(
// setup progress reporting; these instances need to be kept alive for
// graph traversal, analysis, and build
- Statistics stats;
- Progress progress;
+ Statistics stats{};
+ Progress progress{};
// analyse the configured target
auto result = AnalyseTarget(configured_target,