ecore_imf_context.c: In function ‘ecore_imf_context_event_callback_del’:
ecore_imf_context.c:1099:9: warning: ‘return’ with no value, in function returning non-void
ecore_imf_context.c:1109:26: warning: initialization discards qualifiers from pointer target type
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@67585
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
{
ECORE_MAGIC_FAIL(ctx, ECORE_MAGIC_CONTEXT,
"ecore_imf_context_event_callback_del");
- return;
+ return NULL;
}
if (!func) return NULL;
{
if ((fn) && (fn->func == func) && (fn->type == type))
{
- void *tmp = fn->data;
+ void *tmp = (void *)fn->data;
free(fn);
ctx->callbacks = eina_list_remove_list(ctx->callbacks, l);
return tmp;