Commit 95e3e847 authored by David Gobbi's avatar David Gobbi
Browse files

COMP: Unreferenced parameter warning.

parent fddbb764
......@@ -38,7 +38,7 @@ public:
class vtkObjectBaseToWeakPointerBaseFriendship
{
public:
static void ClearPointer(vtkWeakPointerBase *p, vtkObjectBase *obj)
static void ClearPointer(vtkWeakPointerBase *p)
{
p->Object = NULL;
}
......@@ -91,7 +91,7 @@ vtkObjectBase::~vtkObjectBase()
vtkWeakPointerBase **p = this->WeakPointers;
while (*p)
{
vtkObjectBaseToWeakPointerBaseFriendship::ClearPointer(*p++, this);
vtkObjectBaseToWeakPointerBaseFriendship::ClearPointer(*p++);
}
delete [] this->WeakPointers;
}
......
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