Graphviz Issue Tracker
Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000291graphvizTwopipublic2003-10-13 17:312011-04-28 04:02
ReporterLeonardo Gomes Holanda 
Assigned Toerg 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOS*-*-OS Version
Summary0000291: Agnode_t* center parameter is never used in dotneato/twopigen/circle.c
Description



The function setSubtreeSize at dotneato/twopigen/circle.c
has a unecessary parameter. The Agnode_t* center parameter is never used.
<CD>
00163 static void
00164 setSubtreeSize(Agraph_t* g, Agnode_t* center)
00165 {
00166 Agnode_t* n;
00167 Agnode_t* parent;
00168
00169 for (n = agfstnode(g); n; n = agnxtnode (g,n)) {
00170 if (NCHILD(n) > 0) continue;
00171 STSIZE(n)++;
00172 parent = PARENT(n);
00173 while (parent) {
00174 STSIZE(parent)++;
00175 parent = PARENT(parent);
00176 }
00177 }
00178 }
</CD>
TagsNo tags attached.
AUXILLARY-FILES
DATE-FIXED
FIX-COMMENT Make a refactory in the setSubtreeSize using an apropriate IDE.
FORMER-ID362
INPUT-FILE
OUTPUT-FILE
STATUS-COMMENTFixed (20 October 2003)
VERSION     
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2011-04-28 04:02 user1 New Issue
2011-04-28 04:02 user1 Assigned To => erg


MantisBT 1.2.5[^]
Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker