diff options
author | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2019-01-17 14:06:46 +0000 |
---|---|---|
committer | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2019-01-17 21:31:28 +0000 |
commit | b523982920d656eabe574c066e09483cb511575a (patch) | |
tree | baa546c4d44c007573a046e64decdfe2438ba015 /Documentation/coding-style.rst | |
parent | 2b63efe0928937e95b7ea1374395048f47f803ba (diff) |
test: timer: Initialise all variables
The ManagedTimer does not initialise the integer 'interval_' variable.
This is set before used, and should not break - but for completeness
(and to cover static analysers) initialise the variable in the
initialiser list.
Fixes: 034ea868027d ("test: Add timer test")
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'Documentation/coding-style.rst')
0 files changed, 0 insertions, 0 deletions