From 940fbca3febe78b788c78d8bb90cdabed78bdf0b Mon Sep 17 00:00:00 2001 From: Paul Tagliamonte Date: Tue, 10 Apr 2012 09:28:45 +0200 Subject: removed 'always-true' expression --- src/FbTk/StringUtil.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/FbTk/StringUtil.cc b/src/FbTk/StringUtil.cc index 2cc47fd..0dcd989 100644 --- a/src/FbTk/StringUtil.cc +++ b/src/FbTk/StringUtil.cc @@ -100,7 +100,7 @@ int extractUnsignedNumber(const std::string& in, T& out) { unsigned long long int result = 0; - if (::extractBigNumber(in.c_str(), strtoull, result) && result >= 0) { + if (::extractBigNumber(in.c_str(), strtoull, result)) { out = static_cast(result); return 1; } -- cgit v0.11.2