From b46e07191f89056cfbb317eb650cac4ecf01876c Mon Sep 17 00:00:00 2001 From: Phenom Date: Fri, 22 Feb 2019 23:20:57 +0100 Subject: [PATCH] Fix clang warning for In file included from ../../../trunk/libretroshare/src/turtle/ p3turtle.cc:30: In file included from ../../../trunk/libretroshare/src/rsserver/p3face.h: 38: In file included from ../../../trunk/libretroshare/src/chat/ p3chatservice.h:30: In file included from ../../../trunk/libretroshare/src/rsitems/ rsmsgitems.h:34: In file included from ../../../trunk/libretroshare/src/grouter/ grouteritems.h:32: In file included from ../../../trunk/libretroshare/src/grouter/ groutermatrix.h:29: In file included from ../../../trunk/libretroshare/src/grouter/ groutertypes.h:28: ../../../trunk/libretroshare/src/turtle/p3turtle.h:447:8: warning: private field '_force_digg_new_tunnels' is not used [-Wunused-private- field] bool _force_digg_new_tunnels ; ^ --- libretroshare/src/turtle/p3turtle.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libretroshare/src/turtle/p3turtle.h b/libretroshare/src/turtle/p3turtle.h index ad60cf7f2..a80025c28 100644 --- a/libretroshare/src/turtle/p3turtle.h +++ b/libretroshare/src/turtle/p3turtle.h @@ -444,7 +444,7 @@ class p3turtle: public p3Service, public RsTurtle, public p3Config std::list _online_peers; /// used to force digging new tunnels - bool _force_digg_new_tunnels ; + //bool _force_digg_new_tunnels ; /// used as a bias to introduce randomness in a consistent way, for /// altering tunnel request depths, and tunnel re-routing actions.