[libcamera-devel] [PATCH 2/3] test: process: Initialise member variables
Kieran Bingham
kieran.bingham at ideasonboard.com
Tue Sep 10 11:04:17 CEST 2019
The ProcessTest() declares member variables but leaves them unitialised.
Set them appropriately from the constructor.
Signed-off-by: Kieran Bingham <kieran.bingham at ideasonboard.com>
---
test/process/process_test.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/test/process/process_test.cpp b/test/process/process_test.cpp
index 701f156b5053..f3cabe0a36c7 100644
--- a/test/process/process_test.cpp
+++ b/test/process/process_test.cpp
@@ -35,6 +35,7 @@ class ProcessTest : public Test
{
public:
ProcessTest()
+ : exitStatus_(Process::NotExited), exitCode_(-1)
{
}
--
2.20.1
More information about the libcamera-devel
mailing list