messages: Member initialization for class MMDSFindIno

Fixes the coverity Issue:

** 717286 Uninitialized scalar field
CID 717286 (#1 of 1): Uninitialized scalar field (UNINIT_CTOR)
2. uninit_member: Non-static class member tid is not initialized
 in this constructor nor in any functions that it calls.

Signed-off-by: Amit Kumar amitkuma@redhat.com
This commit is contained in:
amitkuma 2017-08-04 02:30:43 +05:30
parent 24c5dea378
commit 99835e1800

View File

@ -19,7 +19,7 @@
#include "include/filepath.h"
struct MMDSFindIno : public Message {
ceph_tid_t tid;
ceph_tid_t tid {0};
inodeno_t ino;
MMDSFindIno() : Message(MSG_MDS_FINDINO) {}