From d18d284e05073d1243d62d1bc72d05dd9929e957 Mon Sep 17 00:00:00 2001 From: polistern Date: Mon, 3 Oct 2022 18:52:53 +0000 Subject: [PATCH] fix: Last warnings fixed. --- i2psam.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/i2psam.h b/i2psam.h index 16b2d43..e2b22ad 100644 --- a/i2psam.h +++ b/i2psam.h @@ -74,7 +74,7 @@ namespace SAM typedef u_int SOCKET; -static void print_error(const std::string &err) +static inline void print_error(const std::string &err) { #ifdef DEBUG_ON_STDOUT #ifdef WIN32 @@ -347,7 +347,7 @@ struct FullDestination { std::string pub; std::string priv; - bool isGenerated; + bool isGenerated = false; FullDestination() {} FullDestination(const std::string &pub, const std::string &priv, bool isGenerated)