From 6daf69c4bdeb243910ccb44d5693d1bd0ad2118c Mon Sep 17 00:00:00 2001 From: Daniel Juyung Seo Date: Thu, 19 Dec 2013 14:26:52 +0900 Subject: [PATCH] config: comment out unused variable after commenting out some codes. This fixes coverity CID 1139957, 1139958, and 1139959. --- legacy/elementary/src/lib/elm_config.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/legacy/elementary/src/lib/elm_config.c b/legacy/elementary/src/lib/elm_config.c index 5fd31f57a9..5af8bce6a9 100644 --- a/legacy/elementary/src/lib/elm_config.c +++ b/legacy/elementary/src/lib/elm_config.c @@ -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