From 64899e40e85453cd03ada2a138b6722e1eb111b4 Mon Sep 17 00:00:00 2001 From: Phenom Date: Sat, 15 Jul 2017 18:36:14 +0200 Subject: [PATCH] Fix clang warning: unused variable 'SFI_DEFAULT_PERIOD' /retroshare-gui/src/gui/feeds/SubFileItem.cpp:69: warning: unused variable 'SFI_DEFAULT_PERIOD' [-Wunused-const-variable] const uint32_t SFI_DEFAULT_PERIOD = (30 * 3600 * 24); /* 30 Days */ --- retroshare-gui/src/gui/feeds/SubFileItem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/retroshare-gui/src/gui/feeds/SubFileItem.cpp b/retroshare-gui/src/gui/feeds/SubFileItem.cpp index 3d1aacce1..250d85cad 100644 --- a/retroshare-gui/src/gui/feeds/SubFileItem.cpp +++ b/retroshare-gui/src/gui/feeds/SubFileItem.cpp @@ -66,7 +66,7 @@ -const uint32_t SFI_DEFAULT_PERIOD = (30 * 3600 * 24); /* 30 Days */ +//const uint32_t SFI_DEFAULT_PERIOD = (30 * 3600 * 24); /* 30 Days */ /** Constructor */ SubFileItem::SubFileItem(const RsFileHash &hash, const std::string &name, const std::string &path, uint64_t size, uint32_t flags, const RsPeerId &srcId)