From e2fa57dcd7f891439ae2581514e071e1c4360a64 Mon Sep 17 00:00:00 2001 From: Phenom Date: Sat, 15 Jul 2017 19:03:17 +0200 Subject: [PATCH] Fix clang warning: unused variable 'INTERVAL_BETWEEN_DEBUG_DUMP' /libretroshare/src/gxstunnel/p3gxstunnel.cc:62: warning: unused variable 'INTERVAL_BETWEEN_DEBUG_DUMP' [-Wunused-const-variable] static const uint32_t INTERVAL_BETWEEN_DEBUG_DUMP = 10 ; --- libretroshare/src/gxstunnel/p3gxstunnel.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libretroshare/src/gxstunnel/p3gxstunnel.cc b/libretroshare/src/gxstunnel/p3gxstunnel.cc index 677fa2f92..62e026393 100644 --- a/libretroshare/src/gxstunnel/p3gxstunnel.cc +++ b/libretroshare/src/gxstunnel/p3gxstunnel.cc @@ -59,7 +59,9 @@ static const uint32_t RS_GXS_TUNNEL_DATA_PRINT_STORAGE_DELAY = 600 ; // store ol static const uint32_t GXS_TUNNEL_ENCRYPTION_HMAC_SIZE = SHA_DIGEST_LENGTH ; static const uint32_t GXS_TUNNEL_ENCRYPTION_IV_SIZE = 8 ; +#ifdef DEBUG_GXS_TUNNEL static const uint32_t INTERVAL_BETWEEN_DEBUG_DUMP = 10 ; +#endif static std::string GXS_TUNNEL_APP_NAME = "GxsTunnels" ;