Fix build warning 58/87658/1
authorsungwook79.park <sungwook79.park@samsung.com>
Fri, 9 Sep 2016 04:45:08 +0000 (13:45 +0900)
committersungwook79.park <sungwook79.park@samsung.com>
Fri, 9 Sep 2016 04:45:08 +0000 (13:45 +0900)
Change-Id: I63d2d4fd6257b504b47f911b9f71b2cb77278a59
Signed-off-by: sungwook79.park <sungwook79.park@samsung.com>
inc/Debug.h
src/w-input-emoticon.cpp
src/w-input-stt-engine.cpp
src/w-input-stt-voice.cpp

index 393f5a31bd3aa597392e4de16408a8f821d2dc51..d7759edb0a61f3f6b5a5ccb010fb172ccf99d22d 100755 (executable)
 #ifndef __DEBUG_HEAD__
 #define __DEBUG_HEAD__
 
-#define LOG_TAG "INPUT_DELEGATOR"
-
 #include <dlog.h>
 
+#undef LOG_TAG
+#define LOG_TAG "INPUT_DELEGATOR"
 
 
 /***************************************************************************************************
index 7f96a37d81dca61fd3512b61404e1db8b034938c..aec6abf0adc3f350775be295391c2eee6de85642 100755 (executable)
@@ -114,7 +114,7 @@ static void _rotary_selector_item_clicked(void *data, Evas_Object *obj, void *ev
     }
 
     int length;
-    const Eina_Unicode unicode_event[2] = { emoticon_info[i].code, 0 };
+    const Eina_Unicode unicode_event[2] = { (unsigned int)emoticon_info[i].code, 0 };
     char* utf_8 = eina_unicode_unicode_to_utf8(unicode_event, &length);
 
     reply_to_sender_by_callback((const char*)utf_8, "emoticon");
index be508bfc8b7eba6bd50d628b4669182ce03b3503..1a69ad72b3e5d5743cc43fee1c6378c9f7d3b3a0 100755 (executable)
@@ -38,7 +38,6 @@
                } while (0);
 
 
-static stt_h g_stt;
 
 
 ////////////////////////////////////////////////////////////////////////////////
index 72b77920b5cbace481acab94f2d67066a5d998a7..bac58657a85c918dbd346d0a5785540d464461ff 100755 (executable)
@@ -1160,12 +1160,12 @@ static Evas_Object *create_language_list(Evas_Object *parent)
        elm_radio_state_value_set(radio_gp, -1);
 
        lang_val = get_language_value();
-#ifdef _WEARABLE
+
        //Title
        itc_title.item_style = "title";
        itc_title.func.text_get = __get_genlist_title_label;
        itc_title.func.content_get = NULL;
-
+#ifdef _WEARABLE
        item = elm_genlist_item_append(genlist, &itc_title, (void *)-1, NULL, ELM_GENLIST_ITEM_GROUP, NULL, genlist);
 #endif