clang: fix -Wunused-but-set-variable
This commit is contained in:
@@ -3123,6 +3123,13 @@ void Adaptive2d::ProcessPolyNode(Paths boundPaths, Paths toolBoundPaths)
|
||||
<< " iter_per_point:" << (double(total_iterations) / ((double(total_points) + 0.001)))
|
||||
<< " total_exceeded:" << total_exceeded << " (" << 100 * double(total_exceeded) / double(total_points) << "%)"
|
||||
<< endl;
|
||||
#else
|
||||
(void)total_output_points;
|
||||
(void)over_cut_count;
|
||||
(void)total_exceeded;
|
||||
(void)total_points;
|
||||
(void)total_iterations;
|
||||
(void)perf_total_len;
|
||||
#endif
|
||||
|
||||
// warn about invalid paths being detected
|
||||
|
||||
@@ -1214,6 +1214,7 @@ return;
|
||||
|
||||
for(int j = 0; j < (int)p0.size(); j++) all.push_back(p0[j]);
|
||||
}
|
||||
(void)totalPoints;
|
||||
//FILE* d;
|
||||
//d = fopen("\\temp\\test.txt", "w");
|
||||
// for(int l = 0; l < all.size(); l++) all[l].print(d, "all","\n");
|
||||
|
||||
Reference in New Issue
Block a user