forked from enlightenment/efl
ecore: shutup unused arguments warning.
This commit is contained in:
parent
e8fb89c156
commit
085adca305
|
@ -5,14 +5,14 @@
|
||||||
static int retval = EXIT_SUCCESS;
|
static int retval = EXIT_SUCCESS;
|
||||||
|
|
||||||
static void
|
static void
|
||||||
_copier_done(void *data, const Efl_Event *event)
|
_copier_done(void *data EINA_UNUSED, const Efl_Event *event EINA_UNUSED)
|
||||||
{
|
{
|
||||||
fprintf(stderr, "INFO: done\n");
|
fprintf(stderr, "INFO: done\n");
|
||||||
ecore_main_loop_quit();
|
ecore_main_loop_quit();
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
_copier_error(void *data, const Efl_Event *event)
|
_copier_error(void *data EINA_UNUSED, const Efl_Event *event)
|
||||||
{
|
{
|
||||||
const Eina_Error *perr = event->info;
|
const Eina_Error *perr = event->info;
|
||||||
fprintf(stderr, "INFO: error: #%d '%s'\n", *perr, eina_error_msg_get(*perr));
|
fprintf(stderr, "INFO: error: #%d '%s'\n", *perr, eina_error_msg_get(*perr));
|
||||||
|
@ -24,7 +24,8 @@ EFL_CALLBACKS_ARRAY_DEFINE(copier_cbs,
|
||||||
{ EFL_IO_COPIER_EVENT_DONE, _copier_done },
|
{ EFL_IO_COPIER_EVENT_DONE, _copier_done },
|
||||||
{ EFL_IO_COPIER_EVENT_ERROR, _copier_error });
|
{ EFL_IO_COPIER_EVENT_ERROR, _copier_error });
|
||||||
|
|
||||||
int main(int argc, char *argv[])
|
int
|
||||||
|
main(int argc EINA_UNUSED, char *argv[] EINA_UNUSED)
|
||||||
{
|
{
|
||||||
Eo *input, *output, *copier, *loop;
|
Eo *input, *output, *copier, *loop;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue