[commit: ghc] master: Remove some "0 +"s that look redundant (42dda24)
Ian Lynagh
igloo at earth.li
Sun Jan 15 22:09:29 CET 2012
Repository : ssh://darcs.haskell.org//srv/darcs/ghc
On branch : master
http://hackage.haskell.org/trac/ghc/changeset/42dda24e1a43ebd8a61657a92d0506b58eca0e71
>---------------------------------------------------------------
commit 42dda24e1a43ebd8a61657a92d0506b58eca0e71
Author: Ian Lynagh <igloo at earth.li>
Date: Sun Jan 15 00:50:03 2012 +0000
Remove some "0 +"s that look redundant
>---------------------------------------------------------------
rts/Stats.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/rts/Stats.c b/rts/Stats.c
index f3ed73c..83c43f0 100644
--- a/rts/Stats.c
+++ b/rts/Stats.c
@@ -565,8 +565,8 @@ stat_exit(int alloc)
// heapCensus() is called by the GC, so RP and HC time are
// included in the GC stats. We therefore subtract them to
// obtain the actual GC cpu time.
- gc_cpu -= 0 + PROF_VAL(RP_tot_time + HC_tot_time);
- gc_elapsed -= 0 + PROF_VAL(RPe_tot_time + HCe_tot_time);
+ gc_cpu -= PROF_VAL(RP_tot_time + HC_tot_time);
+ gc_elapsed -= PROF_VAL(RPe_tot_time + HCe_tot_time);
init_cpu = get_init_cpu();
init_elapsed = get_init_elapsed();
More information about the Cvs-ghc
mailing list