diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-03-22 20:56:28 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-03-22 20:56:28 +0000 |
commit | bc13d935e6c6e194f7704f94aa964daf6f4a368e (patch) | |
tree | c59913532b95f5adba2dd56c69a9072589d47753 /shell | |
parent | 60c2b472de80fbc5c7acad515b524395f498bb4f (diff) |
coverity#708176 Uninitialized scalar field
Change-Id: I1d7b005c563a17b31a3bf565dd27d43868b3129c
Diffstat (limited to 'shell')
-rw-r--r-- | shell/source/unix/sysshell/recently_used_file_handler.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/shell/source/unix/sysshell/recently_used_file_handler.cxx b/shell/source/unix/sysshell/recently_used_file_handler.cxx index c6c02baeb82c..b5dbcc10cf7b 100644 --- a/shell/source/unix/sysshell/recently_used_file_handler.cxx +++ b/shell/source/unix/sysshell/recently_used_file_handler.cxx @@ -61,8 +61,9 @@ namespace /* private */ { struct recently_used_item { - recently_used_item() : - is_private_(false) + recently_used_item() + : timestamp_(-1) + , is_private_(false) {} recently_used_item( |