From 68934499d426b9228841498cb863b5633b53502b Mon Sep 17 00:00:00 2001 From: Phenom Date: Fri, 21 Jul 2017 13:00:03 +0200 Subject: [PATCH] Fix CppCheck in ftchunkmap.h /libretroshare/src/ft/ftchunkmap.h:37: warning: Cppcheck(uninitMemberVar): Member variable 'ftChunk::id' is not initialized in the constructor. --- libretroshare/src/ft/ftchunkmap.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libretroshare/src/ft/ftchunkmap.h b/libretroshare/src/ft/ftchunkmap.h index 93ca25021..3ee4a1234 100644 --- a/libretroshare/src/ft/ftchunkmap.h +++ b/libretroshare/src/ft/ftchunkmap.h @@ -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) ;