removed 'always-true' expression
This commit is contained in:
parent
e6a01dcabb
commit
940fbca3fe
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue