remove ParseString(...) which is never used

This commit is contained in:
Kamil Domanski
2014-05-13 11:11:02 +02:00
parent bfae70aae6
commit be54b87f22
2 changed files with 0 additions and 21 deletions

View File

@@ -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