summaryrefslogtreecommitdiffhomepage
path: root/editor
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-06-06 19:00:13 +0200
committerStanislaw Halik <sthalik@misaki.pl>2024-06-06 19:04:03 +0200
commit7c644fdcdca03959f8c2d679c35b4203beaf660b (patch)
tree116cef3c3de9bc024981c5fef850c4b8e1a223be /editor
parentbd8c51e7d9b0d7f0c938c6c1d94f1eba17ec494d (diff)
fix warning
Diffstat (limited to 'editor')
-rw-r--r--editor/tests/hole-test.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/editor/tests/hole-test.cpp b/editor/tests/hole-test.cpp
index 389f3ec9..bc422b2a 100644
--- a/editor/tests/hole-test.cpp
+++ b/editor/tests/hole-test.cpp
@@ -60,7 +60,6 @@ void hole_test::draw_ui(app& a, float)
{
using Cr = CutResult<Int>;
using bbox = Cr::bbox;
- const auto& m = a.main();
const auto width = Math::min(ImGui::GetWindowSize().x, 400.f);
const auto window_size = ImVec2{width, width};
const auto bgcolor = ImGui::ColorConvertFloat4ToU32({0, 0, 0, 1});