From c973e46c47987dbfbda1eaad4c8136df1677ec0f Mon Sep 17 00:00:00 2001 From: Danny Al-Gaaf Date: Thu, 13 Mar 2014 18:48:00 +0100 Subject: [PATCH] mds/Mutation.h: init export_dir with NULL in ctor CID 1188167 (#1 of 1): Uninitialized pointer field (UNINIT_CTOR) 2. uninit_member: Non-static class member "export_dir" is not initialized in this constructor nor in any functions that it calls. Signed-off-by: Danny Al-Gaaf --- src/mds/Mutation.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mds/Mutation.h b/src/mds/Mutation.h index 10ed53d28f91..bc60a776597d 100644 --- a/src/mds/Mutation.h +++ b/src/mds/Mutation.h @@ -246,7 +246,7 @@ struct MDRequest : public Mutation { src_reanchor_atid(0), dst_reanchor_atid(0), inode_import_v(0), rename_inode(0), is_freeze_authpin(false), is_ambiguous_auth(false), is_remote_frozen_authpin(false), is_inode_exporter(false), - flock_was_waiting(false), stid(0), slave_commit(0) { } + flock_was_waiting(false), stid(0), slave_commit(0), export_dir(NULL) { } } *_more; -- 2.47.3