diff options
Diffstat (limited to 'src/osd/Watch.cc')
-rw-r--r-- | src/osd/Watch.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osd/Watch.cc b/src/osd/Watch.cc index 1ee5f35b5e3..07650ac470c 100644 --- a/src/osd/Watch.cc +++ b/src/osd/Watch.cc @@ -71,7 +71,7 @@ class NotifyTimeoutCB : public CancelableContext { NotifyRef notif; bool canceled; // protected by notif lock public: - NotifyTimeoutCB(NotifyRef notif) : notif(notif) {} + NotifyTimeoutCB(NotifyRef notif) : notif(notif), canceled(false) {} void finish(int) { notif->osd->watch_lock.Unlock(); notif->lock.Lock(); |