From ab9830b6ffe927dc616afc992bbf8796833f0398 Mon Sep 17 00:00:00 2001 From: rdb Date: Mon, 29 Nov 2021 14:49:41 +0100 Subject: [PATCH] egg-qtess: Squelch compiler 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..f37588f463 100644 --- a/pandatool/src/egg-qtess/isoPlacer.cxx +++ b/pandatool/src/egg-qtess/isoPlacer.cxx @@ -109,11 +109,13 @@ 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;