From fceace93da7474984c93d664acc46f3fdc9c1f84 Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Thu, 4 Jan 2024 16:00:43 +0000 Subject: [PATCH] Remove dead code. (Coverity) --- 3d-viewer/3d_canvas/eda_3d_canvas.cpp | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/3d-viewer/3d_canvas/eda_3d_canvas.cpp b/3d-viewer/3d_canvas/eda_3d_canvas.cpp index 848a6931a4..d719793beb 100644 --- a/3d-viewer/3d_canvas/eda_3d_canvas.cpp +++ b/3d-viewer/3d_canvas/eda_3d_canvas.cpp @@ -921,7 +921,6 @@ bool EDA_3D_CANVAS::SetView3D( VIEW3D_TYPE aRequestedView ) const float delta_move = m_delta_move_step_factor * m_camera.GetZoom(); const float arrow_moving_time_speed = 8.0f; - bool handled = false; switch( aRequestedView ) { @@ -1046,15 +1045,6 @@ bool EDA_3D_CANVAS::SetView3D( VIEW3D_TYPE aRequestedView ) default: return false; } - - m_mouse_was_moved = true; - - restart_editingTimeOut_Timer(); - - DisplayStatus(); - Request_refresh(); - - return handled; }