summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBoris Faure <billiob@gmail.com>2019-10-20 18:32:35 +0200
committerBoris Faure <billiob@gmail.com>2019-10-20 18:32:35 +0200
commit9ce403d29bcd4121c9b0a47875c1337f4fbe085d (patch)
tree7341370ec7dcaa65e0f81996e00f2ef7afe85f8b /src
parent71ee21af324fa20720954c9e1a9330fc4fd4cdd1 (diff)
media: remove useless condition
Diffstat (limited to 'src')
-rw-r--r--src/bin/media.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/bin/media.c b/src/bin/media.c
index b43eadc..28bfd2b 100644
--- a/src/bin/media.c
+++ b/src/bin/media.c
@@ -1248,7 +1248,6 @@ media_add(Evas_Object *parent, const char *src, const Config *config, int mode,
1248 if (!_smart) _smart_init(); 1248 if (!_smart) _smart_init();
1249 obj = evas_object_smart_add(e, _smart); 1249 obj = evas_object_smart_add(e, _smart);
1250 sd = evas_object_smart_data_get(obj); 1250 sd = evas_object_smart_data_get(obj);
1251 if (!sd) return obj;
1252 1251
1253 sd->src = eina_stringshare_add(src); 1252 sd->src = eina_stringshare_add(src);
1254 sd->config = config; 1253 sd->config = config;