Updates will be applied - 3:30pm EDT (UTC -400). No downtime expected.

Commit 5a319971 authored by Sean McBride's avatar Sean McBride Committed by Dave DeMarle

Remove the addition of a few inappropriate vtkErrorMacro

This reverts 42815afe aka I85da8ed1664a6e7dcb1a6c7d987fbfbd309558db

Change-Id: I304fcf3872f15e99a5f2d36492edb361fdd06b7f
parent 70bad0eb
......@@ -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