Un-necessary code removed 11/152011/1 tizen_4.0 submit/tizen_4.0/20170926.130659 submit/tizen_4.0/20170927.093714 submit/tizen_4.0/20171025.043320 tizen_4.0.IoT.p2_release
authorKapil Jhuria <kapil.jhuria@samsung.com>
Sat, 23 Sep 2017 13:09:12 +0000 (18:39 +0530)
committerKapil Jhuria <kapil.jhuria@samsung.com>
Sat, 23 Sep 2017 13:09:12 +0000 (18:39 +0530)
Change-Id: I17b8fae5bcfacd0d41776ad0acbc68421e3ffec6

src/widget/mp-search-list.c

index 4fa0e88..b365fc6 100644 (file)
@@ -170,12 +170,8 @@ _mp_search_track_sel_cb(void *data, Evas_Object * obj, void *event_info)
 
        mp_plst_item *plst_item = NULL;
        mp_plst_item *to_play = NULL;
-       char *prev_item_uid = NULL;
 
        plst_item = mp_playlist_mgr_get_current(ad->playlist_mgr);
-       if (plst_item) {
-               prev_item_uid = g_strdup(plst_item->uid);
-       }
 
        if (!ad->playlist_mgr) {
                mp_common_create_playlist_mgr();
@@ -230,8 +226,6 @@ _mp_search_track_sel_cb(void *data, Evas_Object * obj, void *event_info)
                                                   "elm,state,virtualkeypad,disable", "");
        mp_common_show_player_view(MP_PLAYER_NORMAL, false, true, true);
 
-       IF_FREE(prev_item_uid);
-
        return;
 }