From 98ac01ceb806447bf3c94d07001aee4f723febec Mon Sep 17 00:00:00 2001 From: Chris Michael Date: Sat, 25 May 2013 20:20:13 +0100 Subject: [PATCH] Remove unused variable (not needed). Signed-off-by: Chris Michael --- src/bin/e_randr.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/bin/e_randr.c b/src/bin/e_randr.c index bf9fa1a56..b0a141c2c 100644 --- a/src/bin/e_randr.c +++ b/src/bin/e_randr.c @@ -524,7 +524,7 @@ _e_randr_config_restore(void) if (ocount > 0) { - Ecore_X_Randr_Output *couts, primary = 0; + Ecore_X_Randr_Output *couts; Eina_List *o; E_Randr_Output_Config *out; Eina_Bool primary_set = EINA_FALSE; @@ -551,8 +551,6 @@ _e_randr_config_restore(void) crtc_cfg->mode, crtc_cfg->orient); - /* get the current primary output */ - primary = ecore_x_randr_primary_output_get(root); EINA_LIST_FOREACH(valid_outputs, o, out) { if ((out->primary) &&