Enlightenment CVS committal

Author  : englebass
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/bin


Modified Files:
        e_flowlayout.c e_int_menus.c 


Log Message:
- Remove unused variables.
- Fix if check.
- Fix return value.

===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/e_flowlayout.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- e_flowlayout.c      10 Feb 2007 17:23:05 -0000      1.1
+++ e_flowlayout.c      13 Feb 2007 02:02:38 -0000      1.2
@@ -146,7 +146,7 @@
    E_Smart_Data *sd;
    
    sd = evas_object_smart_data_get(obj);
-   if (!sd) return 0;
+   if (!sd) return;
    if (right) *right = sd->flowright;
    if (bottom) *bottom = sd->flowright; 
 }
@@ -722,7 +722,7 @@
 _e_flowlayout_smart_extents_calcuate(E_Smart_Data *sd)
 {
    Evas_List *l;
-   int minw, minh, totalw, totalh, count;
+   int minw, minh, count;
 
    /* FIXME: need to calc max */
    sd->max.w = -1; /* max < 0 == unlimited */
===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/e_int_menus.c,v
retrieving revision 1.193
retrieving revision 1.194
diff -u -3 -r1.193 -r1.194
--- e_int_menus.c       12 Feb 2007 06:09:58 -0000      1.193
+++ e_int_menus.c       13 Feb 2007 02:02:38 -0000      1.194
@@ -907,7 +907,7 @@
 
    if (j > k) return 1;
    if (j < k) return -1;
-   if (j = k) return 0;
+   if (j == k) return 0;
 }
 
 static void



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to