From: pfritz Date: Sun, 5 Oct 2008 18:33:35 +0000 (+0000) Subject: warnings-- X-Git-Tag: 2.0_alpha~194^2~1775 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8165e2d542ab41ecb66a6b73eb4be6e0d0da2ef3;p=framework%2Fuifw%2Fecore.git warnings-- git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@36457 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/lib/ecore/ecore_main.c b/src/lib/ecore/ecore_main.c index 4ba6856..38dc006 100644 --- a/src/lib/ecore/ecore_main.c +++ b/src/lib/ecore/ecore_main.c @@ -487,6 +487,8 @@ _ecore_main_win32_message(double timeout) return 1; } } +#else + timeout = 0.0; #endif /* _WIN32 */ return 0; diff --git a/src/lib/ecore/ecore_poll.c b/src/lib/ecore/ecore_poll.c index 74eee7f..ed12365 100644 --- a/src/lib/ecore/ecore_poll.c +++ b/src/lib/ecore/ecore_poll.c @@ -85,7 +85,7 @@ _ecore_poller_next_tick_eval(void) } static int -_ecore_poller_cb_timer(void *data) +_ecore_poller_cb_timer(void *data __UNUSED__) { int i; Ecore_List2 *l; @@ -194,7 +194,7 @@ _ecore_poller_cb_timer(void *data) * by @p type to the time period defined by @p poll_time. */ EAPI void -ecore_poller_poll_interval_set(Ecore_Poller_Type type, double poll_time) +ecore_poller_poll_interval_set(Ecore_Poller_Type type __UNUSED__, double poll_time) { poll_interval = poll_time; _ecore_poller_next_tick_eval(); @@ -209,7 +209,7 @@ ecore_poller_poll_interval_set(Ecore_Poller_Type type, double poll_time) * This will get the time between ticks of the specifider ticker clock. */ EAPI double -ecore_poller_poll_interval_get(Ecore_Poller_Type type) +ecore_poller_poll_interval_get(Ecore_Poller_Type type __UNUSED__) { return poll_interval; } @@ -262,7 +262,7 @@ ecore_poller_poll_interval_get(Ecore_Poller_Type type) * invalid. */ EAPI Ecore_Poller * -ecore_poller_add(Ecore_Poller_Type type, int interval, int (*func) (void *data), const void *data) +ecore_poller_add(Ecore_Poller_Type type __UNUSED__, int interval, int (*func) (void *data), const void *data) { Ecore_Poller *poller; int ibit;