summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/util/corestr.cpp
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2016-03-01 18:57:06 +1100
committer Vas Crabb <vas@vastheman.com>2016-03-01 18:57:06 +1100
commit9224c862b2c4c42b375fd58b7d99077439cbe635 (patch)
tree41e14e6fd25a9d4bf784dc5b70fc999d17aa70ba /src/lib/util/corestr.cpp
parent529f4dd3418132b8faaa598e31df166abb536270 (diff)
Move more things to type-safe printf
Diffstat (limited to 'src/lib/util/corestr.cpp')
-rw-r--r--src/lib/util/corestr.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/lib/util/corestr.cpp b/src/lib/util/corestr.cpp
index 3c65bcb3db6..2f39bc06ad9 100644
--- a/src/lib/util/corestr.cpp
+++ b/src/lib/util/corestr.cpp
@@ -198,16 +198,6 @@ char *core_i64_format(UINT64 value, UINT8 mindigits, bool is_octal)
#include <algorithm>
-int strvprintf(std::string &str, const char *format, va_list args)
-{
- char tempbuf[4096];
- int result = vsprintf(tempbuf, format, args);
-
- // set the result
- str.assign(tempbuf);
- return result;
-}
-
int strcatvprintf(std::string &str, const char *format, va_list args)
{
char tempbuf[4096];