princeamd pushed a commit to branch enlightenment-0.17.

commit 765921a458959bd21289938484156b0937291518
Author: Chris Michael <[email protected]>
Date:   Sat May 25 20:20:13 2013 +0100

    Backport: 98ac01c :: Remove unused variable (not needed).
    
    Signed-off-by: Chris Michael <[email protected]>
    Signed-off-by: Deon Thomas <[email protected]>
---
 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 bf9fa1a..b0a141c 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) && 

-- 

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev

Reply via email to