summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKieran Bingham <kieran.bingham@ideasonboard.com>2019-09-10 09:48:35 +0100
committerKieran Bingham <kieran.bingham@ideasonboard.com>2019-09-13 09:21:40 +0100
commit122892d1bccf0495579918a4fcdf74a793e9fb36 (patch)
tree5bbc64194f2f635976a14b59683aa6ae30551cc1
parentee35abb7c7e0ba26d6453fb5e1c3b79e596c9fd0 (diff)
test: process: Initialise member variables
The ProcessTest() declares member variables but leaves them unitialised. Set them appropriately from the constructor. Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
-rw-r--r--test/process/process_test.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/process/process_test.cpp b/test/process/process_test.cpp
index 701f156b..f3cabe0a 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)
{
}