Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[timed] Initialize Timed class member variables
Timed class has multitude of member variables and it is extremely difficult tell whether all of them get initialized to sane values before they end up being used. To make things at least deterministic, initialize all member variables to a known value already in constructor. Signed-off-by: Simo Piiroinen <simo.piiroinen@jollamobile.com>
- Loading branch information
Showing
2 changed files
with
62 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters