Commit b90c8b68 authored by Dave DeMarle's avatar Dave DeMarle

Merge branch 'revert-42815afe-REL' into release

Change-Id: I9baba36905301d28becced97920c6dd877424a53
parents b69d27ed 5a319971
......@@ -246,7 +246,6 @@ unsigned char *vtkBitArray::ResizeAndExtend(vtkIdType sz)
if (newSize <= 0)
{
this->Initialize();
vtkErrorMacro(<< "Memory size must be positive\n");
return 0;
}
......
......@@ -140,7 +140,6 @@ vtkIdType *vtkIdList::Resize(const vtkIdType sz)
if (newSize <= 0)
{
this->Initialize();
vtkErrorMacro(<< "Memory size must be positive\n");
return 0;
}
......
......@@ -339,7 +339,6 @@ vtkStdString * vtkStringArray::ResizeAndExtend(vtkIdType sz)
if(newSize <= 0)
{
this->Initialize();
vtkErrorMacro(<< "Memory size must be positive\n");
return 0;
}
......
......@@ -727,7 +727,6 @@ vtkVariant* vtkVariantArray::ResizeAndExtend(vtkIdType sz)
if(newSize <= 0)
{
this->Initialize();
vtkErrorMacro(<< "Memory size must be positive\n");
return 0;
}
......
......@@ -136,7 +136,6 @@ void** vtkVoidArray::ResizeAndExtend(vtkIdType sz)
if (newSize <= 0)
{
this->Initialize();
vtkErrorMacro(<< "Memory size must be positive\n");
return 0;
}
......
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