summaryrefslogtreecommitdiffstatshomepage
path: root/test/unit_tests/process_worker.cpp
diff options
context:
space:
mode:
authorEgor Tensin <egor@tensin.name>2026-06-05 17:09:59 +0200
committerEgor Tensin <egor@tensin.name>2026-06-05 17:10:22 +0200
commit633fd6d1c27de9b570dd5e095227f9f2c5b4697b (patch)
tree1c4c6b4cb5075a16aaa81ead1efb21d2c5b732f2 /test/unit_tests/process_worker.cpp
parentcmake: use BoostConfig.cmake (diff)
downloadwinapi-common-633fd6d1c27de9b570dd5e095227f9f2c5b4697b.tar.gz
winapi-common-633fd6d1c27de9b570dd5e095227f9f2c5b4697b.zip
try a fix for compiler warnings
Not sure, maybe they should be preserved in the scope? We'll see.
Diffstat (limited to '')
-rw-r--r--test/unit_tests/process_worker.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/unit_tests/process_worker.cpp b/test/unit_tests/process_worker.cpp
index 8f9f765..d05efaa 100644
--- a/test/unit_tests/process_worker.cpp
+++ b/test/unit_tests/process_worker.cpp
@@ -116,7 +116,7 @@ void check_console_buffer_inherit(Worker& worker, const std::vector<std::string>
std::cout << PLACEHOLDER << std::endl;
}
// Order worker to write the lines:
- const auto handles = worker.test_write();
+ worker.test_write();
// Query worker process's window:
const auto worker_actual = worker.read_last_lines(numof_lines);
// Query this process's window:
@@ -143,7 +143,7 @@ void check_console_buffer_new(Worker& worker, const std::vector<std::string>& ex
std::cout << PLACEHOLDER << std::endl;
}
// Order worker to write the lines:
- const auto handles = worker.test_write();
+ worker.test_write();
// Query worker process's window:
const auto worker_actual = worker.read_last_lines(numof_lines);
// Query this process's window: