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
Todd Kordenbrock
VTK-m
Commits
265b778a
Commit
265b778a
authored
Mar 31, 2016
by
Robert Maynard
Browse files
Fix unused warning in VTKDataSetReaderBase.
parent
af2ae8e6
Changes
1
Hide whitespace changes
Inline
Side-by-side
vtkm/io/reader/VTKDataSetReaderBase.h
View file @
265b778a
...
...
@@ -404,7 +404,7 @@ private:
char
vbuf
[
vlen
];
this
->
DataFile
->
Stream
.
read
(
vbuf
,
vlen
-
1
);
vbuf
[
vlen
-
1
]
=
'\0'
;
if
(
std
::
string
(
vbuf
)
!=
"# vtk DataFile Version"
)
if
(
std
::
string
(
vbuf
)
!=
std
::
string
(
vstring
)
)
{
throw
vtkm
::
io
::
ErrorIO
(
"Incorrect file format."
);
}
...
...
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