Simplify code for the "ICONV_USES_CONST" case even more. (i.e. remove the "msg" variable there).

svn-id: r49880
This commit is contained in:
Johannes Schickel 2010-06-15 17:56:05 +00:00
parent 212d0ac28c
commit a42ea73a76

View file

@ -130,8 +130,7 @@ bool TranslationManager::convert(const char *message) {
// Preparing conversion origin
size_t len = strlen(message);
#ifdef ICONV_USES_CONST
const char *msg = message;
const char **pmsg = &msg;
const char **pmsg = &message;
#else
char *msgcpy = new char[len + 1];
strcpy(msgcpy, message);