Skip to content

Commit

Permalink
TestEngine: fixed unused variable warning on non-docking branch.
Browse files Browse the repository at this point in the history
  • Loading branch information
ocornut committed Sep 17, 2024
1 parent da183b1 commit 31a75c6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions imgui_test_engine/imgui_te_context.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1648,6 +1648,7 @@ void ImGuiTestContext::_MakeAimingSpaceOverPos(ImGuiViewport* viewport, ImGuiWin
if (window->RootWindowDockTree != window)
continue;
#else
IM_UNUSED(viewport);
if (window->RootWindow != window)
continue;
#endif
Expand Down

0 comments on commit 31a75c6

Please sign in to comment.