egg-qtess: Fix an unused variable warning

This commit is contained in:
rdb 2024-03-12 15:32:44 +01:00
parent c4adc17d55
commit 4f7b153c3f

View File

@ -108,12 +108,14 @@ void IsoPlacer::
place(int count, pvector<double> &iso_points) { place(int count, pvector<double> &iso_points) {
int i; int i;
/*
// Count up the average curvature. // Count up the average curvature.
double avg_curve = 0.0; double avg_curve = 0.0;
for (i = 0; i < _maxi; i++) { for (i = 0; i < _maxi; i++) {
avg_curve += _cscore[i]; avg_curve += _cscore[i];
} }
avg_curve /= (double)_maxi; avg_curve /= (double)_maxi;
*/
// Find all the local maxima in the curvature table. These are bend points. // Find all the local maxima in the curvature table. These are bend points.
typedef pvector<int> BendPoints; typedef pvector<int> BendPoints;