diff options
author | Paul Tagliamonte <paultag@fluxbox.org> | 2012-04-10 07:28:45 (GMT) |
---|---|---|
committer | Mathias Gumz <akira at fluxbox dot org> | 2012-04-10 07:28:52 (GMT) |
commit | 940fbca3febe78b788c78d8bb90cdabed78bdf0b (patch) | |
tree | 3447310966d380c023204314413465304f465c71 /src/FbTk | |
parent | e6a01dcabb2d1598d02ab211d19e7a6776319010 (diff) | |
download | fluxbox-940fbca3febe78b788c78d8bb90cdabed78bdf0b.zip fluxbox-940fbca3febe78b788c78d8bb90cdabed78bdf0b.tar.bz2 |
removed 'always-true' expression
Diffstat (limited to 'src/FbTk')
-rw-r--r-- | src/FbTk/StringUtil.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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) { | |||
100 | 100 | ||
101 | unsigned long long int result = 0; | 101 | unsigned long long int result = 0; |
102 | 102 | ||
103 | if (::extractBigNumber(in.c_str(), strtoull, result) && result >= 0) { | 103 | if (::extractBigNumber(in.c_str(), strtoull, result)) { |
104 | out = static_cast<T>(result); | 104 | out = static_cast<T>(result); |
105 | return 1; | 105 | return 1; |
106 | } | 106 | } |