diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/util/dprintf.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/util/dprintf.c b/lib/util/dprintf.c index c79989b517..a77eed84f5 100644 --- a/lib/util/dprintf.c +++ b/lib/util/dprintf.c @@ -34,8 +34,6 @@ #include "includes.h" #include "system/locale.h" -static smb_iconv_t display_cd = (smb_iconv_t)-1; - static int d_vfprintf(FILE *f, const char *format, va_list ap) { char *p, *p2; @@ -44,11 +42,6 @@ static int d_vfprintf(FILE *f, const char *format, va_list ap) bool cret; va_list ap2; - /* If there's nothing to convert, take a shortcut */ - if (display_cd == (smb_iconv_t)-1) { - return vfprintf(f, format, ap); - } - va_copy(ap2, ap); ret = vasprintf(&p, format, ap2); va_end(ap2); |