From 13220ec414f2b806d456aca3d21093fb108daecd Mon Sep 17 00:00:00 2001 From: Phenom Date: Sat, 15 Jul 2017 16:33:04 +0200 Subject: [PATCH] Fix clang warning: unused variable 'MAX_TIME_KEEP_LOCATION_WITHOUT_CONTACT' /libretroshare/src/rsserver/p3peers.cc:52: warning: unused variable 'MAX_TIME_KEEP_LOCATION_WITHOUT_CONTACT' [-Wunused-const-variable] static const int MAX_TIME_KEEP_LOCATION_WITHOUT_CONTACT = 30*24*3600 ; // 30 days. --- libretroshare/src/rsserver/p3peers.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libretroshare/src/rsserver/p3peers.cc b/libretroshare/src/rsserver/p3peers.cc index f43dfb485..113489cd6 100644 --- a/libretroshare/src/rsserver/p3peers.cc +++ b/libretroshare/src/rsserver/p3peers.cc @@ -49,7 +49,7 @@ const std::string CERT_LOCAL_IP = "--LOCAL--"; const std::string CERT_EXT_IP = "--EXT--"; const std::string CERT_DYNDNS = "--DYNDNS--"; -static const int MAX_TIME_KEEP_LOCATION_WITHOUT_CONTACT = 30*24*3600 ; // 30 days. +//static const int MAX_TIME_KEEP_LOCATION_WITHOUT_CONTACT = 30*24*3600 ; // 30 days. #include "pqi/authssl.h"