From ae76fd9dfff6f2a2513a250d95ffbae4d99df931 Mon Sep 17 00:00:00 2001
From: David Doria <daviddoria@gmail.com>
Date: Fri, 30 Dec 2011 08:16:43 -0500
Subject: [PATCH] BUG: Fixed set but not used warning.

The variable aNode was set but not used.

Change-Id: I35223d37bdc9e251acdf9fe79255e8ddd02809f5
---
 Infovis/vtkGraphAnnotationLayersFilter.cxx | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/Infovis/vtkGraphAnnotationLayersFilter.cxx b/Infovis/vtkGraphAnnotationLayersFilter.cxx
index daaa656676b..f053f642637 100644
--- a/Infovis/vtkGraphAnnotationLayersFilter.cxx
+++ b/Infovis/vtkGraphAnnotationLayersFilter.cxx
@@ -181,7 +181,7 @@ int vtkGraphAnnotationLayersFilter::RequestData(vtkInformation *vtkNotUsed(reque
       ++selectionNodeId)
       {
       vtkSmartPointer<vtkPoints> hullPoints = vtkSmartPointer<vtkPoints>::New();
-      vtkIdType aNode;
+
       hullId++;
       vtkSelectionNode* selectionNode = selection->GetNode(selectionNodeId);
       if (selectionNode->GetFieldType() != vtkSelectionNode::VERTEX)
@@ -200,7 +200,6 @@ int vtkGraphAnnotationLayersFilter::RequestData(vtkInformation *vtkNotUsed(reque
       for (vtkIdType i = 0; i < numberOfNodePoints; ++i)
         {
         hullPoints->InsertNextPoint(inputPoints->GetPoint(vertexIds->GetValue(i)));
-        aNode = vertexIds->GetValue(i);
         }
 
       // Create filled polygon
-- 
GitLab