summaryrefslogtreecommitdiffstats
path: root/logd
diff options
context:
space:
mode:
Diffstat (limited to 'logd')
-rw-r--r--logd/src/logd/watcher.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/logd/src/logd/watcher.cpp b/logd/src/logd/watcher.cpp
index c505d2dd235..c59a22c8597 100644
--- a/logd/src/logd/watcher.cpp
+++ b/logd/src/logd/watcher.cpp
@@ -78,6 +78,7 @@ Watcher::~Watcher()
struct donecache {
+ donecache() : st_dev(0), st_ino(0), offset(0), valid(false) {}
dev_t st_dev; /* device */
ino_t st_ino; /* inode number */
off_t offset;