diff options
author | Mattes D <github@xoft.cz> | 2014-10-24 08:49:36 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2014-10-24 08:49:36 +0200 |
commit | e272637ff582f3e32794bc7b2a1a23564bba54c4 (patch) | |
tree | 03e5b6488f27a9cb3147a2d8da50a0100cec9ef0 /src/IniFile.cpp | |
parent | Fixed formatstring (diff) | |
download | cuberite-e272637ff582f3e32794bc7b2a1a23564bba54c4.tar cuberite-e272637ff582f3e32794bc7b2a1a23564bba54c4.tar.gz cuberite-e272637ff582f3e32794bc7b2a1a23564bba54c4.tar.bz2 cuberite-e272637ff582f3e32794bc7b2a1a23564bba54c4.tar.lz cuberite-e272637ff582f3e32794bc7b2a1a23564bba54c4.tar.xz cuberite-e272637ff582f3e32794bc7b2a1a23564bba54c4.tar.zst cuberite-e272637ff582f3e32794bc7b2a1a23564bba54c4.zip |
Diffstat (limited to 'src/IniFile.cpp')
-rw-r--r-- | src/IniFile.cpp | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/IniFile.cpp b/src/IniFile.cpp index eff41de33..a666a4ff8 100644 --- a/src/IniFile.cpp +++ b/src/IniFile.cpp @@ -461,20 +461,6 @@ bool cIniFile::SetValueF(const AString & a_KeyName, const AString & a_ValueName, -bool cIniFile::SetValueV(const AString & a_KeyName, const AString & a_ValueName, const char * a_Format, ...) -{ - va_list args; - va_start(args, a_Format); - AString Data; - AppendVPrintf(Data, a_Format, args); - va_end(args); - return SetValue(a_KeyName, a_ValueName, Data); -} - - - - - AString cIniFile::GetValue(const int keyID, const int valueID, const AString & defValue) const { if ((keyID < (int)keys.size()) && (valueID < (int)keys[keyID].names.size())) |