Commit 4cd4cba1 authored by Will Schroeder's avatar Will Schroeder
Browse files

ENH:Cleaning up code

parent ab257f76
......@@ -40,7 +40,7 @@
#include "vtkByteSwap.h"
#include "vtkCellArray.h"
vtkCxxRevisionMacro(vtkAVSucdReader, "1.1");
vtkCxxRevisionMacro(vtkAVSucdReader, "1.2");
vtkStandardNewMacro(vtkAVSucdReader);
vtkAVSucdReader::vtkAVSucdReader()
......@@ -109,12 +109,6 @@ const char *vtkAVSucdReader::GetByteOrderAsString()
void vtkAVSucdReader::Execute()
{
vtkUnstructuredGrid *output = (vtkUnstructuredGrid *)this->GetOutput();
this->ReleaseDataFlagOff ();
output->GlobalReleaseDataFlagOff();
output->SetSource(this);
if ( this->fs == NULL )
{
vtkErrorMacro(<< "No file specified!");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment