From e272637ff582f3e32794bc7b2a1a23564bba54c4 Mon Sep 17 00:00:00 2001 From: Mattes D Date: Fri, 24 Oct 2014 08:49:36 +0200 Subject: IniFile: Removed the problematic printf-like Set function. It wasn't used in any client code anyway. --- src/IniFile.cpp | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'src/IniFile.cpp') 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())) -- cgit v1.2.3