Enlightenment CVS committal

Author  : devilhorns
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/bin


Modified Files:
        e_maximize.c 


Log Message:
Remove Unused Variables. C++ is bad, mkay.
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_maximize.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -3 -r1.6 -r1.7
--- e_maximize.c        20 Jan 2006 04:04:12 -0000      1.6
+++ e_maximize.c        24 Jan 2006 03:03:28 -0000      1.7
@@ -37,14 +37,14 @@
 EAPI void
 e_maximize_border_gadman_fit(E_Border *bd, int *x1, int *y1, int *x2, int *y2)
 {
-  int ii, jj;
+  /* Unused variables int ii, jj; */
   Evas_List *l, *ll;
 
   Evas_List *mzones = NULL;
   Evas_List *tmp_mzones = NULL;
 
   struct _m_zone *mzone = NULL;
-  struct _m_zone *mzone_split;
+  /* Unused variable: struct _m_zone *mzone_split; */
 
   mzone = (struct _m_zone *)malloc(sizeof(struct _m_zone));
   if (mzone == NULL)
@@ -135,7 +135,8 @@
     }
   else if (mzones != NULL && mzones->next != NULL)
     {
-      Evas_List *wl = NULL, *hl = NULL;
+      Evas_List *wl = NULL;
+      /* Unused var *hl = NULL; */
 
       /* The use of *_width_reverse_sort or *_height_reverse_sort depends
        * on the preferences of the user - what window he/she would like to
@@ -143,18 +144,18 @@
        */
       wl = evas_list_sort(mzones, evas_list_count(mzones), 
_e_mzone_cb_width_reverse_sort);
       mzones = NULL;
-     // hl = evas_list_sort(mzones, -1, _e_mzone_cb_height_reverse_sort);
+     /* hl = evas_list_sort(mzones, -1, _e_mzone_cb_height_reverse_sort); */
 
       mzone = wl->data;
-      //mzone = hl->data;
+      /* mzone = hl->data; */
       *x1 = mzone->x1;
       *y1 = mzone->y1;
       *x2 = mzone->x2;
       *y2 = mzone->y2;
 
-     // evas_list_free( wl );
-     // evas_list_free( hl );
-
+     /* evas_list_free( wl );
+        evas_list_free( hl );
+      */ 
       mzones = wl;
     }
 




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to