Fix compile warnings 23/39023/1
authorShuhrat Dehkanov <sh.dehkanov@samsung.com>
Thu, 7 May 2015 06:34:15 +0000 (15:34 +0900)
committerShuhrat Dehkanov <sh.dehkanov@samsung.com>
Thu, 7 May 2015 06:38:14 +0000 (15:38 +0900)
commit46bdd5af7cf1ab5155b185a27b730d44c0f6dcee
tree755bac640c828549f90d1e0036c91c362ed9b98d
parentddc19f81b8d95f7069b387cc646364df2f06ff79
Fix compile warnings

/home/abuild/rpmbuild/BUILD/org.tizen.settings-tv-ref-0.1/ug/wifi-direct/src/WifiDirectMainView.cpp:
In member function 'void CWifiDirectMainView::m_ProcessConnectionReq(const char*)':
/home/abuild/rpmbuild/BUILD/org.tizen.settings-tv-ref-0.1/ug/wifi-direct/src/WifiDirectMainView.cpp:
763:45: warning: the address of 'is_pbc' will always evaluate as 'true' [-Waddress]
  ret = m->pWifiDirectMgr->GetWPStype(&is_pbc);
                                             ^

/home/abuild/rpmbuild/BUILD/org.tizen.settings-tv-ref-0.1/src/view_maincatalog.cpp: In member
function 'virtual void CMainCatalogView::Refresh()':
/usr/include/eina-1/eina/eina_array.h:493:15: warning: comparison between signed and unsigned
integer expressions [-Wsign-compare]
        (index < eina_array_count(array)) && ((item = *((iterator)++)));     \
               ^
/home/abuild/rpmbuild/BUILD/org.tizen.settings-tv-ref-0.1/src/view_maincatalog.cpp:1188:3: note: in
expansion of macro 'EINA_ARRAY_ITER_NEXT'
   EINA_ARRAY_ITER_NEXT(m->sub_item_btn, i, obj, a) {
   ^

/home/abuild/rpmbuild/BUILD/org.tizen.settings-tv-ref-0.1/src/view_sublist.cpp: In member function
'bool CSublistView::m_DrawListItems(Eina_List*)':
/usr/include/eina-1/eina/eina_array.h:493:15: warning: comparison between signed and unsigned
integer expressions [-Wsign-compare]
        (index < eina_array_count(array)) && ((item = *((iterator)++)));     \
               ^
/home/abuild/rpmbuild/BUILD/org.tizen.settings-tv-ref-0.1/src/view_sublist.cpp:359:4: note: in
expansion of macro 'EINA_ARRAY_ITER_NEXT'
    EINA_ARRAY_ITER_NEXT(btns, j, obj, a)
    ^

/home/abuild/rpmbuild/BUILD/org.tizen.settings-tv-ref-0.1/src/view_pwd_popup.cpp: In function
'Evas_Object* _add_pwd_cancel_btn(SPasscodePopupView*)':
/home/abuild/rpmbuild/BUILD/org.tizen.settings-tv-ref-0.1/src/view_pwd_popup.cpp:196:63: warning:
deprecated conversion from string constant to 'char*' [-Wwrite-strings]
    utils_get_translation_str((char *) MSGID_CANCEL), EINA_TRUE);
                                                               ^

/home/abuild/rpmbuild/BUILD/org.tizen.settings-tv-ref-0.1/src/view_system_clock.cpp: In member
function 'bool CSystemClockView::m_AddSysclkSublistItem(Eina_List*, const char*)':
/usr/include/eina-1/eina/eina_array.h:493:15: warning: comparison between signed and unsigned
integer expressions [-Wsign-compare]
        (index < eina_array_count(array)) && ((item = *((iterator)++)));     \
               ^
/home/abuild/rpmbuild/BUILD/org.tizen.settings-tv-ref-0.1/src/view_system_clock.cpp:257:2: note: in
expansion of macro 'EINA_ARRAY_ITER_NEXT'
  EINA_ARRAY_ITER_NEXT(array, j, obj, aiter) {
  ^

Change-Id: Ia11848ec772103e14d5fb5d5d40ac37b65058afb
include/utils.h
src/utils.cpp
src/view_maincatalog.cpp
src/view_need_pwd.cpp
src/view_pwd_popup.cpp
src/view_sublist.cpp
src/view_system_clock.cpp
ug/include/WifiDirectMgr.h
ug/src/WifiDirectMgr.cpp
ug/wifi-direct/src/WifiDirectMainView.cpp