From 6ec4cc911a9a0e72708da59e43609e48c6d25417 Mon Sep 17 00:00:00 2001 From: Christopher Michael Date: Wed, 18 Aug 2010 18:35:34 +0000 Subject: [PATCH] Add unused where needed. (Still lots of warnings in here, but don't know the code well enough to fix them all). SVN revision: 51314 --- src/bin/e_randr.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/bin/e_randr.c b/src/bin/e_randr.c index 7aa84223b..4187a6cbb 100644 --- a/src/bin/e_randr.c +++ b/src/bin/e_randr.c @@ -680,12 +680,12 @@ _e_randr_crtc_info_get(Ecore_X_Randr_Crtc crtc) } static Eina_Bool -_e_randr_event_cb(void *data, int type, void *ev) +_e_randr_event_cb(void *data __UNUSED__, int type, void *ev) { E_Randr_Crtc_Info *crtc_info; Eina_Bool enabled; - if (!e_randr_screen_info) return ECORE_CALLBACK_RENEW; + if (!e_randr_screen_info) return ECORE_CALLBACK_RENEW; if (type == ECORE_X_EVENT_RANDR_CRTC_CHANGE) { Ecore_X_Event_Randr_Crtc_Change *event = (Ecore_X_Event_Randr_Crtc_Change*) ev; @@ -916,7 +916,7 @@ _e_randr_notify_output_change(E_Randr_Output_Info *output_info) * simply implementing another policy. */ static const E_Randr_Crtc_Info* -_e_randr_policy_crtc_get(E_Randr_Crtc_Info *but, E_Randr_Crtc_Info *hint, Ecore_X_Randr_Output_Policy policy) +_e_randr_policy_crtc_get(E_Randr_Crtc_Info *but, E_Randr_Crtc_Info *hint __UNUSED__, Ecore_X_Randr_Output_Policy policy) { Eina_List *iter; E_Randr_Crtc_Info *crtc_info, *ret = NULL; @@ -1017,7 +1017,7 @@ _e_randr_config_enable_11(int size_index, Ecore_X_Randr_Refresh_Rate refresh_rat } static Eina_Bool -_e_randr_config_enable_12(const E_Randr_Screen_Restore_Info_12* restore_info) +_e_randr_config_enable_12(const E_Randr_Screen_Restore_Info_12 *restore_info __UNUSED__) { /* if (E_RANDR_NO_12 || !restore_info) return EINA_FALSE;