From 4f7b153c3fe315bb2ff0833427f277f205f37d18 Mon Sep 17 00:00:00 2001 From: rdb Date: Tue, 12 Mar 2024 15:32:44 +0100 Subject: [PATCH] egg-qtess: Fix an unused variable warning --- pandatool/src/egg-qtess/isoPlacer.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pandatool/src/egg-qtess/isoPlacer.cxx b/pandatool/src/egg-qtess/isoPlacer.cxx index fda96904e3..0c4cebeefa 100644 --- a/pandatool/src/egg-qtess/isoPlacer.cxx +++ b/pandatool/src/egg-qtess/isoPlacer.cxx @@ -108,12 +108,14 @@ void IsoPlacer:: place(int count, pvector &iso_points) { int i; + /* // Count up the average curvature. double avg_curve = 0.0; for (i = 0; i < _maxi; i++) { avg_curve += _cscore[i]; } avg_curve /= (double)_maxi; + */ // Find all the local maxima in the curvature table. These are bend points. typedef pvector BendPoints;