Merge pull request #7953 from sloriot/Kernel_23-remove_unused_var

Remove unused variable
This commit is contained in:
Laurent Rineau 2024-01-08 10:58:26 +01:00
commit d9e5a1fba7
1 changed files with 1 additions and 2 deletions

View File

@ -53,8 +53,6 @@ int main() {
Point_3 a = {0, 0, 0};
Point_3 b = {0, -1, 0}; // ab is oriented so that it sees the plan xz positively.
[[maybe_unused]] Point_3 c = {1, 0, 0};
// c can be any point in the half-plane xy, with x>0
const query queries[] = {
{ { 1, 0, 0}, 0.},
@ -69,6 +67,7 @@ int main() {
auto cnt = 0u;
for(double yc = -10; yc < 10; yc += 0.1) {
// c can be any point in the half-plane xy, with x>0
Point_3 c{1, yc, 0};
// std::cout << "c = " << c << '\n';
for(const auto& query : queries) {