aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/translation.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/common/translation.cpp b/common/translation.cpp
index 60ae4c2257..791958b911 100644
--- a/common/translation.cpp
+++ b/common/translation.cpp
@@ -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);