Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Ben Boeckel
Xdmf
Commits
35001cdf
Commit
35001cdf
authored
Dec 21, 2007
by
Dave Demarle
Browse files
COMP: Fix unused variable compilation warnings.
parent
9addfd68
Changes
1
Hide whitespace changes
Inline
Side-by-side
vtk/vtkXdmfReader.cxx
View file @
35001cdf
...
...
@@ -86,7 +86,7 @@
#define USE_IMAGE_DATA // otherwise uniformgrid
vtkStandardNewMacro
(
vtkXdmfReader
);
vtkCxxRevisionMacro
(
vtkXdmfReader
,
"1.2
8
"
);
vtkCxxRevisionMacro
(
vtkXdmfReader
,
"1.2
9
"
);
vtkCxxSetObjectMacro
(
vtkXdmfReader
,
Controller
,
vtkMultiProcessController
);
...
...
@@ -1195,10 +1195,6 @@ int vtkXdmfReader::UpdateDomains()
//----------------------------------------------------------------------------
void
vtkXdmfReader
::
UpdateRootGrid
()
{
int
done
=
0
;
int
NGrid
;
vtkIdType
currentGrid
;
XdmfXmlNode
gridNode
=
0
;
XdmfXmlNode
domain
=
this
->
Internals
->
DomainPtr
;
if
(
!
domain
)
...
...
@@ -1717,8 +1713,8 @@ int vtkXdmfReader::RequestInformation(
case
VTK_RECTILINEAR_GRID
:
case
VTK_STRUCTURED_GRID
:
{
vtkXdmfReaderGrid
*
ptr
=
this
->
Internals
->
GetGrid
(
0
);
this
->
Internals
->
RequestGridInformation
(
ptr
,
outInfo
);
vtkXdmfReaderGrid
*
s
ptr
=
this
->
Internals
->
GetGrid
(
0
);
this
->
Internals
->
RequestGridInformation
(
s
ptr
,
outInfo
);
}
break
;
case
VTK_MULTIBLOCK_DATA_SET
:
...
...
@@ -1797,25 +1793,25 @@ int vtkXdmfReaderInternal::RequestGridData(
vtkXdmfReaderGrid
*
child
=
it
->
second
;
//if ( it->second->Enabled ) only top level grids can be disabled
{
vtkDataObject
*
output
=
vtkDataObject
*
s
output
=
vtkDataObjectTypes
::
NewDataObject
(
child
->
vtkType
);
outMB
->
SetDataSet
(
0
,
outputGrid
,
output
);
outMB
->
SetDataSet
(
0
,
outputGrid
,
s
output
);
vtkDebugWithObjectMacro
(
this
->
Reader
,
"Recursively filling in ds "
<<
outputGrid
<<
" a "
<<
output
->
GetClassName
()
<<
" a "
<<
s
output
->
GetClassName
()
<<
" from "
<<
it
->
first
.
c_str
());
vtkInformation
*
subInfo
=
compInfo
->
GetInformation
(
0
,
outputGrid
);
this
->
RequestGridData
(
/*it->first.c_str(),*/
child
,
subInfo
,
output
,
s
output
,
1
,
lprogressS
,
lprogressE
);
output
->
Delete
();
s
output
->
Delete
();
outputGrid
++
;
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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