From 718c09e6d75f8e85abf2ecf08594021129909692 Mon Sep 17 00:00:00 2001 From: Phenom Date: Fri, 21 Jul 2017 16:29:49 +0200 Subject: [PATCH] Fix CppCheck in rsgixs.h /libretroshare/src/gxs/rsgixs.h:179: warning: Cppcheck(uninitMemberVar): Member variable 'GixsReputation::reputation_level' is not initialized in the constructor. --- libretroshare/src/gxs/rsgixs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libretroshare/src/gxs/rsgixs.h b/libretroshare/src/gxs/rsgixs.h index 6e8591a4a..df3c8af46 100644 --- a/libretroshare/src/gxs/rsgixs.h +++ b/libretroshare/src/gxs/rsgixs.h @@ -176,7 +176,7 @@ public: class GixsReputation { public: - GixsReputation() {} + GixsReputation() :reputation_level(0) {} RsGxsId id; uint32_t reputation_level ;