]> Git Repo - binutils.git/commitdiff
* cg_print.c (sort_members): Include the final member on the list in the sort.
authorNick Clifton <[email protected]>
Tue, 25 Sep 2007 15:58:04 +0000 (15:58 +0000)
committerNick Clifton <[email protected]>
Tue, 25 Sep 2007 15:58:04 +0000 (15:58 +0000)
gprof/ChangeLog
gprof/cg_print.c

index 302a73f7f9ab97601adb8654e0e6718639b38504..5b2844f0b6ca777878a4a2ade46c216d09fc010f 100644 (file)
@@ -1,3 +1,8 @@
+2007-09-25  Robert Norton  <[email protected]>
+
+       * cg_print.c (sort_members): Include the final member on the list
+       in the sort.
+
 2007-09-17  Nick Clifton  <[email protected]>
 
        * po/es.po: Updated Spanish translation.
index 104d0499ec67f8899321ecda4953f294b478fea5..4799bc7822ea5926793e893fce83c9877dc3a3ff 100644 (file)
@@ -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;
 
This page took 0.028504 seconds and 4 git commands to generate.