From: JinWang An Date: Mon, 8 Jul 2024 01:22:21 +0000 (+0900) Subject: Remove unreached source code X-Git-Tag: accepted/tizen/unified/20240711.011445~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=edda399f24841b4fa6d59b7981f262e66a20dee9;p=platform%2Fcore%2Fapi%2Fbase-utils.git Remove unreached source code Change-Id: I043c3881bfb43e5d71308c6cb3020d45483aab9e Signed-off-by: JinWang An --- diff --git a/i18ninfo/i18ninfo.cpp b/i18ninfo/i18ninfo.cpp index e4c0136..00711b8 100644 --- a/i18ninfo/i18ninfo.cpp +++ b/i18ninfo/i18ninfo.cpp @@ -1750,7 +1750,6 @@ void testPluralRules(char *input) void showDatentimeFormat(char *locale) { - int ret = 0; int i = 0; int loc_count; @@ -1761,20 +1760,14 @@ void showDatentimeFormat(char *locale) printf("\n== Show Date basic format"); printf("\n****************************************"); printf("\n - locales : %s\n", default_locale); - ret = __get_date_basic_format(); - if (ret == -1) { - printf("get i18n date and time basic format list failed\n"); - } + __get_date_basic_format(); } } else { default_locale = locale; printf("\n== Show Date basic format"); printf("\n****************************************"); printf("\n - locales : %s\n", default_locale); - ret = __get_date_basic_format(); - if (ret == -1) { - printf("get i18n date and time basic format list failed\n"); - } + __get_date_basic_format(); } }