git.lucas.co / cce-cloud
cloud storage client
git clone https://git.lucas.co/cce-cloud.git

commit1609506db84f26c6745eb93d0aa6aec845b4bc3f
parentca62b2a586
authorLucas Galante <[email protected]>
date2026-06-19 15:40
Clean up compiler warnings

 src/main.rs | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/main.rs b/src/main.rs
index da8861f..3950384 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -1,7 +1,9 @@
 use std::sync::{Arc, Mutex};
 use std::io::{self, BufRead, IsTerminal};
 
-use cce_ui::widget::{Element, TextLabel, JsonLayoutWidget, JsonLayoutConfig, JsonWidgetConfig};
+use cce_ui::widget::{Element, TextLabel, JsonLayoutWidget, JsonLayoutConfig};
+#[cfg(test)]
+use cce_ui::widget::JsonWidgetConfig;
 
 use smithay_client_toolkit::{
     compositor::{CompositorHandler, CompositorState},
@@ -665,6 +667,7 @@ fn read_opacity_if_configured() -> f32 {
 }
 
 #[derive(Clone)]
+#[allow(dead_code)]
 enum AppWindow {
     Layer(LayerSurface),
     Xdg(XdgWindow),