ecore/enlil - [E-devel] [PATCHES] Some random warning fixes for our beloved buildbot...
authorhermet <hermet@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 4 May 2012 12:37:33 +0000 (12:37 +0000)
committerhermet <hermet@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 4 May 2012 12:37:33 +0000 (12:37 +0000)
Hello.

Just 3 small fixes to get our warning count down. The tempget one
should actually save us against wrong reads.

Also a small DSO fix reported and confirmed in IRC.

Please review and apply.

regards
Stefan Schmidt

Submitted-By-Off: Stefan Schmidt<stefan@datenfreihafen.org>

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@70759 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/tests/ecore_test_ecore.c

index 3649196..616d59b 100644 (file)
@@ -156,13 +156,13 @@ START_TEST(ecore_test_ecore_main_loop_timer)
 }
 END_TEST
 
-static Eina_Bool _timer3(void *data)
+static Eina_Bool _timer3(void *data __UNUSED__)
 {
    /* timer 3, do nothing */
    return EINA_FALSE;
 }
 
-static Eina_Bool _timer2(void *data)
+static Eina_Bool _timer2(void *data __UNUSED__)
 {
    /* timer 2, quit inner mainloop */
    ecore_main_loop_quit();
@@ -287,7 +287,7 @@ START_TEST(ecore_test_ecore_main_loop_event)
 END_TEST
 
 static Eina_Bool
-_timer_quit_recursive(void *data)
+_timer_quit_recursive(void *data __UNUSED__)
 {
    INF("   _timer_quit_recursive: begin");
    ecore_main_loop_quit(); /* quits inner main loop */
@@ -296,7 +296,7 @@ _timer_quit_recursive(void *data)
 }
 
 static Eina_Bool
-_event_recursive_cb(void *data, int type, void *event)
+_event_recursive_cb(void *data __UNUSED__, int type __UNUSED__, void *event __UNUSED__)
 {
    Ecore_Event *e;
    static int guard = 0;