Remove unreached source code 50/314150/1
authorJinWang An <jinwang.an@samsung.com>
Mon, 8 Jul 2024 01:22:21 +0000 (10:22 +0900)
committerJinWang An <jinwang.an@samsung.com>
Mon, 8 Jul 2024 01:22:21 +0000 (10:22 +0900)
Change-Id: I043c3881bfb43e5d71308c6cb3020d45483aab9e
Signed-off-by: JinWang An <jinwang.an@samsung.com>
i18ninfo/i18ninfo.cpp

index e4c0136..00711b8 100644 (file)
@@ -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();
        }
 }