config: comment out unused variable after commenting out some codes.

This fixes coverity CID 1139957, 1139958, and 1139959.
This commit is contained in:
Daniel Juyung Seo 2013-12-19 14:26:52 +09:00
parent 7aa21f73fd
commit 6daf69c4bd
1 changed files with 6 additions and 4 deletions

View File

@ -2411,13 +2411,15 @@ static void
_translation_init()
{
#ifdef ENABLE_NLS
const char *cur_dom = textdomain(NULL);
const char *trans_comment = gettext("");
const char *msg_locale = setlocale(LC_MESSAGES, NULL);
/* How does it decide translation with current domain??
Application could use their own text domain.
This is insane to me. */
This is insane to me.
const char *cur_dom = textdomain(NULL);
const char *trans_comment = gettext("");
const char *msg_locale = setlocale(LC_MESSAGES, NULL);
*/
/* Same concept as what glib does:
* We shouldn't translate if there are no translations for the