Fix warnings.

SVN revision: 28695
This commit is contained in:
Sebastian Dransfeld 2007-03-13 16:17:38 +00:00
parent eeecc60efc
commit f7cc0332f5
2 changed files with 2 additions and 9 deletions

View File

@ -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);

View File

@ -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;