removed 'always-true' expression

This commit is contained in:
Paul Tagliamonte 2012-04-10 09:28:45 +02:00 committed by Mathias Gumz
parent e6a01dcabb
commit 940fbca3fe

View file

@ -100,7 +100,7 @@ int extractUnsignedNumber(const std::string& in, T& out) {
unsigned long long int result = 0; 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<T>(result); out = static_cast<T>(result);
return 1; return 1;
} }