[Bug] remove some build warnings .
[apps/home/settings.git] / src / conf_util / setting_confutil.c
index 7f28d6a..0882cba 100755 (executable)
@@ -51,7 +51,9 @@ void timezone_init()
        char* tzpath = get_timezone();
        //printf(">>> time zone : %s \n", tzpath+20);
        int ret = vconf_set_str(VCONFKEY_SETAPPL_TIMEZONE_INT, tzpath+20);
-
+       if (ret != 0) {
+               SETTING_TRACE("fail to set vconf");
+       }
        char str_buf[256] = {0, };
        get_gmt_offset(str_buf, 256);
        printf(">>> time zone GMT string : %s \n", str_buf);
@@ -61,6 +63,9 @@ void get_current_font()
 {
        char *value = NULL;
        int retcode = system_settings_get_value_string(SYSTEM_SETTINGS_KEY_FONT_TYPE, &value);
+       if (retcode != 0) {
+               SETTING_TRACE("fail to set SYSTEM_SETTINGS_KEY_FONT_TYPE");
+       }
        printf(">>> get current font type : %s \n", value);
 }