diff --git a/src/openrct2-ui/windows/Ride.cpp b/src/openrct2-ui/windows/Ride.cpp index 8fee7c7865..c63a8bf4d2 100644 --- a/src/openrct2-ui/windows/Ride.cpp +++ b/src/openrct2-ui/windows/Ride.cpp @@ -1374,7 +1374,6 @@ rct_window* WindowRideOpenVehicle(Vehicle* vehicle) static void WindowRideSetPage(rct_window* w, int32_t page) { int32_t listen; - auto ride = get_ride(w->number); if (input_test_flag(INPUT_FLAG_TOOL_ACTIVE)) if (w->classification == gCurrentToolWidget.window_classification && w->number == gCurrentToolWidget.window_number) diff --git a/src/openrct2-ui/windows/Transparency.cpp b/src/openrct2-ui/windows/Transparency.cpp index 6b8b17751d..a7d0ccb775 100644 --- a/src/openrct2-ui/windows/Transparency.cpp +++ b/src/openrct2-ui/windows/Transparency.cpp @@ -76,11 +76,6 @@ static constexpr const int32_t WH = 300; static constexpr ScreenSize ICON_BUTTON = {24, 24}; static constexpr ScreenSize FLAT_BUTTON = {24, 12}; -static constexpr ScreenSize CHEAT_BUTTON = {110, 17}; -static constexpr ScreenSize CHEAT_CHECK = {221, 12}; -static constexpr ScreenSize CHEAT_SPINNER = {117, 14}; -static constexpr ScreenSize MINMAX_BUTTON = {55, 17}; - static constexpr const int32_t TAB_WIDTH = 31; static constexpr const int32_t TAB_START = 3;