Enlightenment CVS committal

Author  : jethomas
Project : e17
Module  : libs/ewl

Dir     : e17/libs/ewl/src/lib


Modified Files:
        ewl_grid.c 


Log Message:

The FREE macro already sets it to NULL.

===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_grid.c,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -3 -r1.45 -r1.46
--- ewl_grid.c  17 Feb 2008 19:58:23 -0000      1.45
+++ ewl_grid.c  22 Mar 2008 21:16:54 -0000      1.46
@@ -113,7 +113,6 @@
                DRETURN(DLEVEL_STABLE);
 
        IF_FREE(g->map);
-       g->map = NULL;
        g->data_dirty = TRUE;
 
        if (cols != g->cols) {
@@ -350,7 +349,6 @@
        DCHECK_TYPE(w, EWL_WIDGET_TYPE);
 
        IF_FREE(g->map);
-       g->map = NULL;
        g->data_dirty = TRUE;
 
        /*
@@ -992,9 +990,6 @@
        IF_FREE(g->map);
        IF_FREE(g->col_size)
        IF_FREE(g->row_size)
-       g->col_size = NULL;
-       g->row_size = NULL;
-       g->map = NULL;
 
        DLEAVE_FUNCTION(DLEVEL_STABLE);
 }
@@ -1571,7 +1566,6 @@
                g->space--;
 
        IF_FREE(g->map);
-       g->map = NULL;
        g->data_dirty = TRUE;
 
        DLEAVE_FUNCTION(DLEVEL_STABLE);



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to