diff options
author | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2019-09-10 09:48:35 +0100 |
---|---|---|
committer | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2019-09-13 09:21:40 +0100 |
commit | 122892d1bccf0495579918a4fcdf74a793e9fb36 (patch) | |
tree | 5bbc64194f2f635976a14b59683aa6ae30551cc1 /test/process | |
parent | ee35abb7c7e0ba26d6453fb5e1c3b79e596c9fd0 (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>
Diffstat (limited to 'test/process')
-rw-r--r-- | test/process/process_test.cpp | 1 |
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) { } |