make clang happy

SVN revision: 45197
This commit is contained in:
Sebastian Dransfeld 2010-01-15 20:51:01 +00:00
parent ba74181c5c
commit a82e7511aa
3 changed files with 5 additions and 8 deletions

View File

@ -666,7 +666,6 @@ _ec_fd_handler(void *data, Ecore_Fd_Handler *fd_handler)
DBG("received op: %d\n", op_id);
r = 1;
switch (op_id)
{
case ETHUMBD_OP_NEW:

View File

@ -990,8 +990,8 @@ _ethumb_client_generated_cb(void *data, DBusMessage *msg)
{
DBusMessageIter iter;
dbus_int32_t id = -1;
const char *thumb;
const char *thumb_key;
const char *thumb = NULL;
const char *thumb_key = NULL;
Ethumb_Client *client = data;
int t;
dbus_bool_t success;
@ -1054,8 +1054,8 @@ _ethumb_client_generated_cb(void *data, DBusMessage *msg)
}
end:
eina_stringshare_del(thumb);
eina_stringshare_del(thumb_key);
if (thumb) eina_stringshare_del(thumb);
if (thumb_key) eina_stringshare_del(thumb_key);
}
static void
@ -1254,7 +1254,6 @@ ethumb_client_generate_cancel(Ethumb_Client *client, int id, Ethumb_Client_Gener
if (pending->free_data)
pending->free_data(pending->data);
free(pending);
found = 1;
break;
}

View File

@ -299,7 +299,6 @@ _generate_thumb(Ethumb *e)
Evas_Object *o;
int r;
const char *file;
float start;
Ethumb_Thumb_Format f;
struct _emotion_plugin *_plugin = calloc(sizeof(struct _emotion_plugin), 1);
@ -318,7 +317,7 @@ _generate_thumb(Ethumb *e)
_plugin->video = o;
ethumb_file_get(e, &file, NULL);
start = ethumb_video_start_get(e);
ethumb_video_start_get(e);
f = ethumb_thumb_format_get(e);
emotion_object_file_set(o, file);