mirror of
https://github.com/ceph/ceph
synced 2024-12-17 00:46:05 +00:00
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:
parent
24c5dea378
commit
99835e1800
@ -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) {}
|
||||
|
Loading…
Reference in New Issue
Block a user