From 094bb8685f1d8ed9861ca9975289268dad4fb24c Mon Sep 17 00:00:00 2001 From: stefan Date: Thu, 28 Jun 2012 08:51:42 +0000 Subject: [PATCH] ecore: unused-params-- git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@72985 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/ecore/ecore.c | 6 +++--- src/lib/ecore/ecore_exe.c | 4 ++-- src/lib/ecore_evas/ecore_evas_ews.c | 2 +- src/lib/ecore_evas/ecore_evas_util.c | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/lib/ecore/ecore.c b/src/lib/ecore/ecore.c index 7a221e3..c5aeb83 100644 --- a/src/lib/ecore/ecore.c +++ b/src/lib/ecore/ecore.c @@ -451,8 +451,8 @@ ecore_thread_main_loop_end(void) } EAPI void -ecore_print_warning(const char *function, - const char *sparam) +ecore_print_warning(const char *function __UNUSED__, + const char *sparam __UNUSED__) { WRN("***** Developer Warning ***** :\n" "\tThis program is calling:\n\n" @@ -467,7 +467,7 @@ EAPI void _ecore_magic_fail(const void *d, Ecore_Magic m, Ecore_Magic req_m, - const char *fname) + const char *fname __UNUSED__) { ERR("\n" "*** ECORE ERROR: Ecore Magic Check Failed!!!\n" diff --git a/src/lib/ecore/ecore_exe.c b/src/lib/ecore/ecore_exe.c index 6db32a9..55462a8 100644 --- a/src/lib/ecore/ecore_exe.c +++ b/src/lib/ecore/ecore_exe.c @@ -187,8 +187,8 @@ static int _ecore_exe_check_errno(int result, static int _ecore_exe_check_errno(int result, - const char *file, - int line) + const char *file __UNUSED__, + int line __UNUSED__) { int saved_errno = errno; diff --git a/src/lib/ecore_evas/ecore_evas_ews.c b/src/lib/ecore_evas/ecore_evas_ews.c index ec02472..47d90f0 100644 --- a/src/lib/ecore_evas/ecore_evas_ews.c +++ b/src/lib/ecore_evas/ecore_evas_ews.c @@ -269,7 +269,7 @@ _ecore_evas_ews_move_resize(Ecore_Evas *ee, int x, int y, int w, int h) } static void -_ecore_evas_ews_rotation_set(Ecore_Evas *ee, int rot, int resize) +_ecore_evas_ews_rotation_set(Ecore_Evas *ee, int rot, int resize __UNUSED__) { if (ee->rotation == rot) return; ee->rotation = rot; diff --git a/src/lib/ecore_evas/ecore_evas_util.c b/src/lib/ecore_evas/ecore_evas_util.c index c58b820..5aca86c 100644 --- a/src/lib/ecore_evas/ecore_evas_util.c +++ b/src/lib/ecore_evas/ecore_evas_util.c @@ -197,7 +197,7 @@ _ecore_evas_pre_free(Ecore_Evas *ee) } static int -_ecore_evas_object_evas_check(const char *function, const Ecore_Evas *ee, const Evas_Object *obj) +_ecore_evas_object_evas_check(const char *function __UNUSED__, const Ecore_Evas *ee, const Evas_Object *obj) { const char *name, *type; Evas *e; -- 2.7.4