From: Sage Weil Date: Thu, 9 May 2013 16:45:51 +0000 (-0700) Subject: osd: initialize OSDService::next_notif_id X-Git-Tag: v0.61.5~68 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=17d2745f095e7bb640dece611d7824d370ea3b81;p=ceph.git 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 (cherry picked from commit 499edd8bfc355c2d590f5fa1ef197d1ea5680351) --- diff --git a/src/osd/OSD.cc b/src/osd/OSD.cc index 91c214da276ac..6705428cab7d9 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),