Remove bogus (and pointless) initialization in the glibc iconv-backed converter

Originally committed to SVN as r5833.
This commit is contained in:
Thomas Goyne 2011-11-08 03:44:46 +00:00
parent bf70b14dfa
commit 1073b3f7f0

View file

@ -127,7 +127,6 @@ class Converter {
public: public:
// subst is not used here because POSIX doesn't let you disable substitution // subst is not used here because POSIX doesn't let you disable substitution
Converter(bool, const char* sourceEncoding, const char* destEncoding) Converter(bool, const char* sourceEncoding, const char* destEncoding)
: cd(cd)
{ {
const char *dstEnc = GetRealEncodingName(destEncoding); const char *dstEnc = GetRealEncodingName(destEncoding);
cd = iconv_open(dstEnc, "UTF-8"); cd = iconv_open(dstEnc, "UTF-8");