aboutsummaryrefslogtreecommitdiff
path: root/src/util.cpp
diff options
context:
space:
mode:
authorKamil Domanski <kdomanski@kdemail.net>2014-05-13 11:11:02 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2014-05-21 11:25:28 +0200
commite917bdb563f9a154167dc9c1da74f7d3f06253be (patch)
treee94c4c56f00516d000d57dd7256aa3ae3574f929 /src/util.cpp
parent79144ac17d308090f63115a8cda855aba37c5cad (diff)
downloadbitcoin-e917bdb563f9a154167dc9c1da74f7d3f06253be.tar.xz
remove ParseString(...) which is never used
Rebased-By: Wladimir J. van der Laan <laanwj@gmail.com> Rebased-From: be54b87
Diffstat (limited to 'src/util.cpp')
-rw-r--r--src/util.cpp20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/util.cpp b/src/util.cpp
index 521d54191f..8af47643cb 100644
--- a/src/util.cpp
+++ b/src/util.cpp
@@ -303,26 +303,6 @@ int LogPrintStr(const std::string &str)
return ret;
}
-void ParseString(const string& str, char c, vector<string>& v)
-{
- if (str.empty())
- return;
- string::size_type i1 = 0;
- string::size_type i2;
- while (true)
- {
- i2 = str.find(c, i1);
- if (i2 == str.npos)
- {
- v.push_back(str.substr(i1));
- return;
- }
- v.push_back(str.substr(i1, i2-i1));
- i1 = i2+1;
- }
-}
-
-
string FormatMoney(int64_t n, bool fPlus)
{
// Note: not using straight sprintf here because we do NOT want