git.lucas.co / cce-status-interface
status bar
git clone https://git.lucas.co/cce-status-interface.git

commitce7a9362782d8b04739a40ad4712909ccac6e3ae
parent25624dac26
authorLucas Galante <[email protected]>
date2026-06-19 15:41
Clean up compiler warnings

 src/bin/draw_ascii_grim.rs | 6 +++---
 src/main.rs                | 1 +
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/src/bin/draw_ascii_grim.rs b/src/bin/draw_ascii_grim.rs
index a47bd8b..cc831ba 100644
--- a/src/bin/draw_ascii_grim.rs
+++ b/src/bin/draw_ascii_grim.rs
@@ -20,9 +20,9 @@ fn main() {
     };
 
     // The actual status bar background color is R=69, G=69, B=89
-    let bg_r = 69;
-    let bg_g = 69;
-    let bg_b = 89;
+    let _bg_r = 69;
+    let _bg_g = 69;
+    let _bg_b = 89;
 
     println!("Strikethrough line pixels at y=30, x=3266..3344 (step by 8):");
     for x in (3266..3344).step_by(8) {
diff --git a/src/main.rs b/src/main.rs
index 788d6f9..f8f0cbf 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -264,6 +264,7 @@ struct StatusApp {
 }
 
 impl StatusApp {
+    #[allow(unused_assignments)]
     fn rebuild_layout(&mut self) {
         let font_family = read_status_font_from_config();
         let font_size = read_status_font_size_from_config();