fix build warnings 91/138191/1
authorLukasz Stanislawski <l.stanislaws@samsung.com>
Tue, 11 Jul 2017 07:20:24 +0000 (09:20 +0200)
committerLukasz Stanislawski <l.stanislaws@samsung.com>
Tue, 11 Jul 2017 07:20:24 +0000 (09:20 +0200)
Change-Id: Ic90e7ee75ea4dadab5268c3529c8d37cfcbeafc2

clock/src/View/AlarmView.cpp
clock/src/View/WorldClockReorderView.cpp
clock/src/View/WorldClockView.cpp

index a8cd605..b946a78 100644 (file)
@@ -210,7 +210,7 @@ void AlarmView::Del(void *data, Evas_Object *obj)
        delete id;
 }
 
-AlarmView::AlarmView(ui::IView &main) : label_(nullptr), popup_(nullptr)
+AlarmView::AlarmView(ui::IView &main) : popup_(nullptr), label_(nullptr)
 {
        /* Base Layout */
        content_ = elm_layout_add(main.GetEvasObject());
index 664c698..7f2ad5d 100644 (file)
@@ -193,8 +193,6 @@ void WorldClockReorderView::LongpressCb(void *data, Evas_Object *obj, void *even
 Evas_Object *WorldClockReorderView::ContentGet(void *data,
         Evas_Object *obj, const char *part)
 {
-       LocationReorderItemData *lrid = static_cast<LocationReorderItemData *>(data);
-
        if (!strcmp(part, "sw.item")) {
                Evas_Object *img = elm_image_add(obj);
 
index ad8c847..8ec5885 100644 (file)
@@ -352,7 +352,7 @@ void WorldClockView::UpdateCustomList()
        Elm_Object_Item *item = nullptr;
        void *data = nullptr;
 
-       for (int i = 0; i < count; ++i) {
+       for (unsigned i = 0; i < count; ++i) {
                item = elm_genlist_nth_item_get(custom_locations_list_, i);
                data = elm_object_item_data_get(item);
                if (!data) {