From: Danny Al-Gaaf Date: Thu, 11 May 2017 14:37:26 +0000 (+0200) Subject: client/MetaRequest.h: fix UNINIT_CTOR X-Git-Tag: v13.0.1~1052^2~5 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=72bb8350161c0883a7e054126341a7f4e33b08dd;p=ceph.git client/MetaRequest.h: fix UNINIT_CTOR Fix for: CID 717207 (#1 of 1): Uninitialized pointer field (UNINIT_CTOR) uninit_member: Non-static class member dirp is not initialized in this constructor nor in any functions that it calls. Signed-off-by: Danny Al-Gaaf --- diff --git a/src/client/MetaRequest.h b/src/client/MetaRequest.h index 8880933d73d1..76c430fc0212 100644 --- a/src/client/MetaRequest.h +++ b/src/client/MetaRequest.h @@ -82,8 +82,8 @@ public: regetattr_mask(0), mds(-1), resend_mds(-1), send_to_auth(false), sent_on_mseq(0), num_fwd(0), retry_attempt(0), - reply(0), - kick(false), success(false), + reply(0), + kick(false), success(false), dirp(NULL), got_unsafe(false), item(this), unsafe_item(this), unsafe_dir_item(this), unsafe_target_item(this), caller_cond(0), dispatch_cond(0) {