Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Christian Butz
VTK
Commits
fabb9013
Commit
fabb9013
authored
Feb 21, 2008
by
Jeff Baumes
Browse files
COMP: Removing usused variables.
parent
5f2277c1
Changes
1
Show whitespace changes
Inline
Side-by-side
Filtering/vtkDirectedAcyclicGraph.cxx
View file @
fabb9013
...
...
@@ -29,7 +29,7 @@
using
vtksys_stl
::
vector
;
vtkCxxRevisionMacro
(
vtkDirectedAcyclicGraph
,
"1.
2
"
);
vtkCxxRevisionMacro
(
vtkDirectedAcyclicGraph
,
"1.
3
"
);
vtkStandardNewMacro
(
vtkDirectedAcyclicGraph
);
//----------------------------------------------------------------------------
vtkDirectedAcyclicGraph
::
vtkDirectedAcyclicGraph
()
...
...
@@ -103,8 +103,7 @@ bool vtkDirectedAcyclicGraph::IsStructureValid(vtkGraph *g)
// Cormen, Leiserson, Rivest, p. 486).
vtkIdType
numVerts
=
g
->
GetNumberOfVertices
();
vector
<
int
>
color
(
numVerts
,
DFS_BLACK
);
vtkIdType
s
,
u
,
v
;
bool
cycle
=
false
;
vtkIdType
s
,
u
;
vtkSmartPointer
<
vtkOutEdgeIterator
>
adj
=
vtkSmartPointer
<
vtkOutEdgeIterator
>::
New
();
for
(
u
=
0
;
u
<
numVerts
;
++
u
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment