From a50c4ca8d2efe055be5edc2f5326d813706f9131 Mon Sep 17 00:00:00 2001 From: Phenom Date: Sat, 15 Jul 2017 18:54:21 +0200 Subject: [PATCH] Fix clang warning: unused variable 'kRecognTagClass_DEVELOPMENT' /retroshare-gui/src/gui/gxs/GxsIdDetails.cpp:62: warning: unused variable 'kRecognTagClass_DEVELOPMENT' [-Wunused-const-variable] const int kRecognTagClass_DEVELOPMENT = 1; /retroshare-gui/src/gui/gxs/GxsIdDetails.cpp:64: warning: unused variable 'kRecognTagType_Dev_Ambassador' [-Wunused-const-variable] const int kRecognTagType_Dev_Ambassador = 1; /retroshare-gui/src/gui/gxs/GxsIdDetails.cpp:65: warning: unused variable 'kRecognTagType_Dev_Contributor' [-Wunused-const-variable] const int kRecognTagType_Dev_Contributor = 2; /retroshare-gui/src/gui/gxs/GxsIdDetails.cpp:66: warning: unused variable 'kRecognTagType_Dev_Translator' [-Wunused-const-variable] const int kRecognTagType_Dev_Translator = 3; /retroshare-gui/src/gui/gxs/GxsIdDetails.cpp:67: warning: unused variable 'kRecognTagType_Dev_Patcher' [-Wunused-const-variable] const int kRecognTagType_Dev_Patcher = 4; /retroshare-gui/src/gui/gxs/GxsIdDetails.cpp:68: warning: unused variable 'kRecognTagType_Dev_Developer' [-Wunused-const-variable] const int kRecognTagType_Dev_Developer = 5; --- retroshare-gui/src/gui/gxs/GxsIdDetails.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/retroshare-gui/src/gui/gxs/GxsIdDetails.cpp b/retroshare-gui/src/gui/gxs/GxsIdDetails.cpp index 1427ce3e5..fd7452967 100644 --- a/retroshare-gui/src/gui/gxs/GxsIdDetails.cpp +++ b/retroshare-gui/src/gui/gxs/GxsIdDetails.cpp @@ -59,13 +59,13 @@ #define MAX_ATTEMPTS 10 #define MAX_PROCESS_COUNT_PER_TIMER 50 -const int kRecognTagClass_DEVELOPMENT = 1; - -const int kRecognTagType_Dev_Ambassador = 1; -const int kRecognTagType_Dev_Contributor = 2; -const int kRecognTagType_Dev_Translator = 3; -const int kRecognTagType_Dev_Patcher = 4; -const int kRecognTagType_Dev_Developer = 5; +//const int kRecognTagClass_DEVELOPMENT = 1; +// +//const int kRecognTagType_Dev_Ambassador = 1; +//const int kRecognTagType_Dev_Contributor = 2; +//const int kRecognTagType_Dev_Translator = 3; +//const int kRecognTagType_Dev_Patcher = 4; +//const int kRecognTagType_Dev_Developer = 5; void ReputationItemDelegate::paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const