Clean up build warnings
Resolve all compiler warnings across daw-backend, lightningbeam-core, and lightningbeam-editor: - Delete dead code: the superseded CPU raster tools in raster_tool.rs (EffectBrush/Smudge/Gradient/Transform/Warp/Liquify/Selection — replaced by the GPU path), plus orphaned helpers and never-read struct fields. - Mechanical fixes: drop unused imports/variables/mut, underscore unused params, `drop(&x)` -> `let _ = x`, deprecated egui::Rounding -> CornerRadius, snake_case rename, elided-lifetime Cow<'_, [u8]>. - Keep the WIP CSS theming system (theme.rs/theme_render.rs) under #[allow(dead_code)] rather than deleting it. Editor checks warning-free; 293 core tests pass.
This commit is contained in:
@@ -116,7 +116,6 @@ pub struct Engine {
|
||||
|
||||
// Current tempo map — kept in sync with SetTempo/SetTempoMap commands.
|
||||
tempo_map: crate::TempoMap,
|
||||
current_fps: f64,
|
||||
// Current time signature — updated by SetTempo, used when SetTempoMap fires.
|
||||
time_sig: (u32, u32),
|
||||
}
|
||||
@@ -197,7 +196,6 @@ impl Engine {
|
||||
timing_sum_total_us: 0,
|
||||
timing_overrun_count: 0,
|
||||
tempo_map: crate::TempoMap::constant(120.0),
|
||||
current_fps: 30.0,
|
||||
time_sig: (4, 4),
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user