forked from enlightenment/efl
ecore ecore_imf_context.c: Fixed build warnings.
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 SVN revision: 67585
This commit is contained in:
parent
73830721ce
commit
30980e2ecf
|
@ -1096,7 +1096,7 @@ ecore_imf_context_event_callback_del(Ecore_IMF_Context *ctx, Ecore_IMF_Callback_
|
|||
{
|
||||
ECORE_MAGIC_FAIL(ctx, ECORE_MAGIC_CONTEXT,
|
||||
"ecore_imf_context_event_callback_del");
|
||||
return;
|
||||
return NULL;
|
||||
}
|
||||
|
||||
if (!func) return NULL;
|
||||
|
@ -1106,7 +1106,7 @@ ecore_imf_context_event_callback_del(Ecore_IMF_Context *ctx, Ecore_IMF_Callback_
|
|||
{
|
||||
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;
|
||||
|
|
Loading…
Reference in New Issue