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:
Phenom 2017-07-21 13:00:03 +02:00 committed by csoler
parent f8d4d6cb21
commit 68934499d4

View File

@ -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) ;