From 6f068e207ab6b6c0206df35e51c56119c2a82fef Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 27 Sep 2004 08:39:06 +0000 Subject: r2678: from_name and to_name aren't needed in smb_iconv_t (This used to be commit f3844cc0a5ad6b03f166435d44db02763df345d7) --- source4/lib/iconv.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'source4/lib') diff --git a/source4/lib/iconv.c b/source4/lib/iconv.c index fb997cf8f1..567f5b5902 100644 --- a/source4/lib/iconv.c +++ b/source4/lib/iconv.c @@ -187,9 +187,6 @@ smb_iconv_t smb_iconv_open(const char *tocode, const char *fromcode) } memset(ret, 0, sizeof(*ret)); - ret->from_name = talloc_strdup(ret, fromcode); - ret->to_name = talloc_strdup(ret, tocode); - /* check for the simplest null conversion */ if (strcmp(fromcode, tocode) == 0) { ret->direct = iconv_copy; -- cgit