From 4152a46ad852243d26e2937e9702cadc4f37004d Mon Sep 17 00:00:00 2001 From: Phenom Date: Sat, 15 Jul 2017 14:58:55 +0200 Subject: [PATCH] Fix clang warning: unused variable 'P3CONNMGR_UDP_DEFAULT_DELAY' /libretroshare/src/pqi/p3linkmgr.cc:78: warning: unused variable 'P3CONNMGR_UDP_DEFAULT_DELAY' [-Wunused-const-variable] const uint32_t P3CONNMGR_UDP_DEFAULT_DELAY = 3; /* 2 Seconds? is it be enough! */ --- libretroshare/src/pqi/p3linkmgr.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libretroshare/src/pqi/p3linkmgr.cc b/libretroshare/src/pqi/p3linkmgr.cc index 39424a21b..3bfcc253d 100644 --- a/libretroshare/src/pqi/p3linkmgr.cc +++ b/libretroshare/src/pqi/p3linkmgr.cc @@ -75,7 +75,7 @@ static struct RsLog::logInfo p3connectzoneInfo = {RsLog::Default, "p3connect"}; //#define P3CONNMGR_NO_TCP_CONNECTIONS 1 const uint32_t P3CONNMGR_TCP_DEFAULT_DELAY = 3; /* 2 Seconds? is it be enough! */ -const uint32_t P3CONNMGR_UDP_DEFAULT_DELAY = 3; /* 2 Seconds? is it be enough! */ +//const uint32_t P3CONNMGR_UDP_DEFAULT_DELAY = 3; /* 2 Seconds? is it be enough! */ const uint32_t P3CONNMGR_TCP_DEFAULT_PERIOD = 10; const uint32_t P3CONNMGR_UDP_DEFAULT_PERIOD = 30; // this represents how long it stays at the default TTL (4), before rising.