From: sungwook79.park Date: Fri, 9 Sep 2016 04:45:08 +0000 (+0900) Subject: Fix build warning X-Git-Tag: accepted/tizen/3.0/wearable/20161015.084050~2 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Finputdelegator.git;a=commitdiff_plain;h=5afadd075dcbf4ea93b09075c41d8bb20d4e1147 Fix build warning Change-Id: I63d2d4fd6257b504b47f911b9f71b2cb77278a59 Signed-off-by: sungwook79.park --- diff --git a/inc/Debug.h b/inc/Debug.h index 393f5a3..d7759ed 100755 --- a/inc/Debug.h +++ b/inc/Debug.h @@ -17,10 +17,10 @@ #ifndef __DEBUG_HEAD__ #define __DEBUG_HEAD__ -#define LOG_TAG "INPUT_DELEGATOR" - #include +#undef LOG_TAG +#define LOG_TAG "INPUT_DELEGATOR" /*************************************************************************************************** diff --git a/src/w-input-emoticon.cpp b/src/w-input-emoticon.cpp index 7f96a37..aec6abf 100755 --- a/src/w-input-emoticon.cpp +++ b/src/w-input-emoticon.cpp @@ -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"); diff --git a/src/w-input-stt-engine.cpp b/src/w-input-stt-engine.cpp index be508bf..1a69ad7 100755 --- a/src/w-input-stt-engine.cpp +++ b/src/w-input-stt-engine.cpp @@ -38,7 +38,6 @@ } while (0); -static stt_h g_stt; //////////////////////////////////////////////////////////////////////////////// diff --git a/src/w-input-stt-voice.cpp b/src/w-input-stt-voice.cpp index 72b7792..bac5865 100755 --- a/src/w-input-stt-voice.cpp +++ b/src/w-input-stt-voice.cpp @@ -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