mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-03-19 05:26:07 -04:00
Fix CppCheck in ftchunkmap.h
/libretroshare/src/ft/ftchunkmap.h:37: warning: Cppcheck(uninitMemberVar): Member variable 'ftChunk::id' is not initialized in the constructor.
This commit is contained in:
parent
f8d4d6cb21
commit
68934499d4
@ -34,7 +34,7 @@ class ftChunk
|
||||
public:
|
||||
typedef uint64_t ChunkId ;
|
||||
|
||||
ftChunk():offset(0), size(0), ts(0),ref_cnt(NULL) {}
|
||||
ftChunk():offset(0), size(0), id(0), ts(0),ref_cnt(NULL) {}
|
||||
|
||||
friend std::ostream& operator<<(std::ostream& o,const ftChunk& f) ;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user