summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHyerim Kim <rimi.kim@samsung.com>2017-04-20 05:31:40 (GMT)
committerHyerim Kim <rimi.kim@samsung.com>2017-04-20 05:32:17 (GMT)
commit29b82215b09ded8728bc3c6e38b6538cf123c8f1 (patch)
treebaff6115c3fb4307bf8e6107a720297235f591f6
parent4b7548cb3a064e4274cd70edfc5a1e25b08a1b8e (diff)
downloadair_mediahub-29b82215b09ded8728bc3c6e38b6538cf123c8f1.zip
air_mediahub-29b82215b09ded8728bc3c6e38b6538cf123c8f1.tar.gz
air_mediahub-29b82215b09ded8728bc3c6e38b6538cf123c8f1.tar.bz2
Change-Id: Idd819e30fc80117de600c0c7f8e62b6e460fc8a5 Signed-off-by: Hyerim Kim <rimi.kim@samsung.com>
-rw-r--r--src/view/mplayer.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/view/mplayer.c b/src/view/mplayer.c
index d17a415..1446107 100644
--- a/src/view/mplayer.c
+++ b/src/view/mplayer.c
@@ -215,10 +215,6 @@ static void _playlist_set_list(struct _priv *priv, bool shuffle, int index)
app_media *am;
p = &priv->playlist;
- if (!p) {
- _ERR("playlist is NULL");
- return;
- }
am = _playlist_get_media(p->list, index);
eina_list_free(p->list);
@@ -237,10 +233,6 @@ static void _playlist_set_repeat_mode(struct _priv *priv)
struct _playlist *p;
p = &priv->playlist;
- if (!p) {
- _ERR("playlist is NULL");
- return;
- }
switch (p->repeat) {
case REPEAT_ALL: