From a51d09eecdea6f67df3250448caababa1910dbab Mon Sep 17 00:00:00 2001
From: Sankhesh Jhaveri <sankhesh.jhaveri@kitware.com>
Date: Fri, 22 Mar 2024 17:31:41 -0400
Subject: [PATCH] COMP: Fix use of undeclared variables

---
 Filters/Core/vtkSplitSharpEdgesPolyData.cxx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Filters/Core/vtkSplitSharpEdgesPolyData.cxx b/Filters/Core/vtkSplitSharpEdgesPolyData.cxx
index 991632afcfa..94dcec8408c 100644
--- a/Filters/Core/vtkSplitSharpEdgesPolyData.cxx
+++ b/Filters/Core/vtkSplitSharpEdgesPolyData.cxx
@@ -432,7 +432,7 @@ int vtkSplitSharpEdgesPolyData::RequestData(vtkInformation* vtkNotUsed(request),
   vtkSMPTools::For(0, functor.PointBatches.GetNumberOfBatches(), functor);
   const vtkIdType numOutPoints = newToOldPointsMap->GetNumberOfIds();
 
-  vtkDebugMacro(<< "Created " << numNewPts - numPts << " new points");
+  vtkDebugMacro(<< "Created " << numOutPoints - numInPoints << " new points");
 
   if (numOutPoints == numInPoints)
   {
-- 
GitLab