From 6329a4f1db72fec3099d4c9644931a58da075cbf Mon Sep 17 00:00:00 2001 From: upstream svn Date: Fri, 8 Apr 2016 14:38:00 +0000 Subject: [PATCH] Remove unused constants --- .svn-revision | 2 +- src/UploadBandwidthThrottler.cpp | 17 ----------------- 2 files changed, 1 insertion(+), 18 deletions(-) diff --git a/.svn-revision b/.svn-revision index 6a8daa1d..5b78db4a 100644 --- a/.svn-revision +++ b/.svn-revision @@ -1 +1 @@ -10910 +10911 diff --git a/src/UploadBandwidthThrottler.cpp b/src/UploadBandwidthThrottler.cpp index a42f0b96..67ebabf2 100644 --- a/src/UploadBandwidthThrottler.cpp +++ b/src/UploadBandwidthThrottler.cpp @@ -30,29 +30,12 @@ #include #include -#include // Do_not_auto_remove (NetBSD) #include "OtherFunctions.h" #include "ThrottledSocket.h" #include "Logger.h" #include "Preferences.h" #include "Statistics.h" -#ifndef _MSC_VER - -#ifdef _UI64_MAX -#undef _UI64_MAX -#endif - -#ifdef _I64_MAX -#undef _I64_MAX -#endif - -const uint32 _UI32_MAX = std::numeric_limits::max(); -const sint32 _I32_MAX = std::numeric_limits::max(); -const uint64 _UI64_MAX = std::numeric_limits::max(); -const sint64 _I64_MAX = std::numeric_limits::max(); - -#endif ///////////////////////////////////// -- 2.11.4.GIT