Fix clang warning: unused variables 'PARTIAL_VIEW_SIZE', ...

/retroshare-gui/src/gui/statistics/GxsTransportStatistics.cpp:67:
warning: unused variable 'PARTIAL_VIEW_SIZE' [-Wunused-const-variable]
static const int PARTIAL_VIEW_SIZE                           =  9 ;
/retroshare-gui/src/gui/statistics/GxsTransportStatistics.cpp:68:
warning: unused variable 'MAX_TUNNEL_REQUESTS_DISPLAY' [-Wunused-const-
variable]
static const int MAX_TUNNEL_REQUESTS_DISPLAY                 = 10 ;
/retroshare-gui/src/gui/statistics/GxsTransportStatistics.cpp:69:
warning: unused variable 'GXSTRANS_STATISTICS_DELAY_BETWEEN_GROUP_REQ'
[-Wunused-const-variable]
static const int GXSTRANS_STATISTICS_DELAY_BETWEEN_GROUP_REQ = 30 ;
// never request more than every 30 secs.
This commit is contained in:
Phenom 2017-07-15 18:50:32 +02:00 committed by csoler
parent 6ee65bc98a
commit f2fb05db58

View File

@ -64,9 +64,9 @@
#define COL_GROUP_POPULARITY 4
#define COL_GROUP_UNIQUE_ID 5
static const int PARTIAL_VIEW_SIZE = 9 ;
static const int MAX_TUNNEL_REQUESTS_DISPLAY = 10 ;
static const int GXSTRANS_STATISTICS_DELAY_BETWEEN_GROUP_REQ = 30 ; // never request more than every 30 secs.
//static const int PARTIAL_VIEW_SIZE = 9 ;
//static const int MAX_TUNNEL_REQUESTS_DISPLAY = 10 ;
//static const int GXSTRANS_STATISTICS_DELAY_BETWEEN_GROUP_REQ = 30 ; // never request more than every 30 secs.
#define GXSTRANS_GROUP_META 0x01
#define GXSTRANS_GROUP_DATA 0x02