[svn:parrot] r39832 - trunk/compilers/imcc
petdance at svn.parrot.org
petdance at svn.parrot.org
Tue Jun 30 02:41:40 UTC 2009
Author: petdance
Date: Tue Jun 30 02:41:37 2009
New Revision: 39832
URL: https://trac.parrot.org/parrot/changeset/39832
Log:
use NULL for pointers, not 0
Modified:
trunk/compilers/imcc/cfg.c
Modified: trunk/compilers/imcc/cfg.c
==============================================================================
--- trunk/compilers/imcc/cfg.c Tue Jun 30 02:29:31 2009 (r39831)
+++ trunk/compilers/imcc/cfg.c Tue Jun 30 02:41:37 2009 (r39832)
@@ -644,7 +644,7 @@
/* memory housekeeping */
e->next = NULL;
- if (unit->edge_list == 0)
+ if (unit->edge_list == NULL)
unit->edge_list = e;
else {
e->next = unit->edge_list;
@@ -1555,7 +1555,7 @@
mem_sys_free(unit->loop_info);
unit->n_loops = 0;
- unit->loop_info = 0;
+ unit->loop_info = NULL;
}
More information about the parrot-commits
mailing list