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 a8cd605acbe22ba9a0e592e2f6fec7a84c28d36e..b946a788e7d788da3ac2d64d16081cd84f35965c 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 664c6985c7f67c7e4f3198ffee7320afbea6911d..7f2ad5d911d9c191fcbf0290c52868a82df99bf4 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 ad8c847739d6b2889df7d801bc8d14ab25f5ac78..8ec5885f39f63f19fd96cb392fea907ff277b64f 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) {