diff options
Diffstat (limited to 'plugins/FingerprintNG/src')
-rw-r--r-- | plugins/FingerprintNG/src/utilities.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/plugins/FingerprintNG/src/utilities.cpp b/plugins/FingerprintNG/src/utilities.cpp index bea14c0d6a..9ddfc7c014 100644 --- a/plugins/FingerprintNG/src/utilities.cpp +++ b/plugins/FingerprintNG/src/utilities.cpp @@ -47,18 +47,6 @@ size_t __fastcall strlennull(LPCSTR string) return 0;
}
-int null_snprintf(LPSTR buffer, size_t count, LPCSTR fmt, ...)
-{
- va_list va;
- int len;
-
- ZeroMemory(buffer, count);
- va_start(va, fmt);
- len = _vsnprintf(buffer, count-1, fmt, va);
- va_end(va);
- return len;
-}
-
LPSTR __fastcall TranslateUtfStatic(LPCSTR src, LPSTR buf, size_t bufsize)
{ // this takes UTF-8 strings only!!!
if (strlennull(src))
|