From 540255f58d6b215e3d006f787518869401b2a7e5 Mon Sep 17 00:00:00 2001 From: englebass Date: Tue, 13 Mar 2007 16:17:38 +0000 Subject: [PATCH] Fix warnings. git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/libs/emotion@28695 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/emotion_smart.c | 2 +- src/modules/emotion_xine.c | 9 +-------- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/src/lib/emotion_smart.c b/src/lib/emotion_smart.c index 71a81a1..b24ce9c 100644 --- a/src/lib/emotion_smart.c +++ b/src/lib/emotion_smart.c @@ -99,7 +99,7 @@ _emotion_module_open(const char *name, Evas_Object *obj, Emotion_Video_Module ** char buf[4096]; Smart_Data *sd; - E_SMART_OBJ_GET(sd, obj, E_OBJ_NAME); + E_SMART_OBJ_GET_RETURN(sd, obj, E_OBJ_NAME, 0); snprintf(buf, sizeof(buf), "%s%s", PACKAGE_LIB_DIR"/emotion/", name); handle = dlopen(buf, RTLD_NOW | RTLD_GLOBAL); diff --git a/src/modules/emotion_xine.c b/src/modules/emotion_xine.c index 4ec5490..b1efd06 100644 --- a/src/modules/emotion_xine.c +++ b/src/modules/emotion_xine.c @@ -450,11 +450,7 @@ static unsigned char em_file_open(const char *file, Evas_Object *obj, void *ef) { Emotion_Xine_Video *ev; - int pos_stream = 0; - int pos_time = 0; - int length_time = 0; - uint32_t v; - + ev = (Emotion_Xine_Video *)ef; if (!ev) return 0; _em_slave_event(ev, 2, strdup(file)); @@ -475,9 +471,6 @@ static void em_play(void *ef, double pos) { Emotion_Xine_Video *ev; - int pos_stream = 0; - int pos_time = 0; - int length_time = 0; double *ppos; ev = (Emotion_Xine_Video *)ef; -- 2.7.4