diff options
Diffstat (limited to 'gprof/cg_print.c')
-rw-r--r-- | gprof/cg_print.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gprof/cg_print.c b/gprof/cg_print.c index 104d049..4799bc7 100644 --- a/gprof/cg_print.c +++ b/gprof/cg_print.c @@ -166,7 +166,7 @@ sort_members (Sym *cyc) todo = cyc->cg.cyc.next; cyc->cg.cyc.next = 0; - for (doing = todo; doing && doing->cg.cyc.next; doing = todo) + for (doing = todo; doing != NULL; doing = todo) { todo = doing->cg.cyc.next; |