From: Danny Al-Gaaf Date: Mon, 10 Mar 2014 19:12:07 +0000 (+0100) Subject: ReplicatedPG.h: CopyResults() initialize final_tx with NULL X-Git-Tag: v0.79~150^2~3 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=9df9f4c7a352dd2354e77cab455b8972c857a8cc;p=ceph.git ReplicatedPG.h: CopyResults() initialize final_tx with NULL CID 1188177 (#1 of 1): Uninitialized pointer field (UNINIT_CTOR) 2. uninit_member: Non-static class member "final_tx" is not initialized in this constructor nor in any functions that it calls. Signed-off-by: Danny Al-Gaaf --- diff --git a/src/osd/ReplicatedPG.h b/src/osd/ReplicatedPG.h index dda41c0dab7..2737d0d5cf6 100644 --- a/src/osd/ReplicatedPG.h +++ b/src/osd/ReplicatedPG.h @@ -123,8 +123,8 @@ public: librados::snap_set_t snapset; ///< src snapset (if head) bool mirror_snapset; CopyResults() : object_size(0), started_temp_obj(false), - user_version(0), should_requeue(false), - mirror_snapset(false) {} + final_tx(NULL), user_version(0), + should_requeue(false), mirror_snapset(false) {} }; struct CopyOp {