aboutsummaryrefslogtreecommitdiff
path: root/src/util.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2014-05-13 12:36:22 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2014-05-13 12:36:29 +0200
commita99f9be0ebd4062fd73648d525b2c7961f845580 (patch)
tree2097cdc687016e52485a5fa12c81d56521cf1ebc /src/util.cpp
parentbfae70aae686e4631090bd0064fa6ac6eeed17d2 (diff)
parentbe54b87f22f10bf84bc25d9e29bf1eed596dc764 (diff)
Merge pull request #4182
be54b87 remove ParseString(...) which is never used (Kamil Domanski)
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 00e29446d5..205af738d5 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