summaryrefslogtreecommitdiff
path: root/src/osd/OSD.cc
diff options
context:
space:
mode:
authorSage Weil <sage@inktank.com>2013-05-09 09:45:51 -0700
committerSage Weil <sage@inktank.com>2013-05-09 10:49:00 -0700
commit499edd8bfc355c2d590f5fa1ef197d1ea5680351 (patch)
tree8cf8639186a09bc6602b759522eb78d61e5f1047 /src/osd/OSD.cc
parente30a03210c3efb768b1653df5ae58917ef26e579 (diff)
downloadceph-499edd8bfc355c2d590f5fa1ef197d1ea5680351.tar.gz
osd: initialize OSDService::next_notif_id
CID 1019627 (#1 of 1): Uninitialized scalar field (UNINIT_CTOR) 2. uninit_member: Non-static class member "next_notif_id" is not initialized in this constructor nor in any functions that it calls. Signed-off-by: Sage Weil <sage@inktank.com>
Diffstat (limited to 'src/osd/OSD.cc')
-rw-r--r--src/osd/OSD.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/osd/OSD.cc b/src/osd/OSD.cc
index e97dec21f44..c812e1326b6 100644
--- a/src/osd/OSD.cc
+++ b/src/osd/OSD.cc
@@ -170,6 +170,7 @@ OSDService::OSDService(OSD *osd) :
scrubs_active(0),
watch_lock("OSD::watch_lock"),
watch_timer(osd->client_messenger->cct, watch_lock),
+ next_notif_id(0),
backfill_request_lock("OSD::backfill_request_lock"),
backfill_request_timer(g_ceph_context, backfill_request_lock, false),
last_tid(0),