[librsvg: 1/4] Mark field as unused




commit 82212c51e198165efe1786e02542938f2be76f59
Author: Federico Mena Quintero <federico gnome org>
Date:   Mon Dec 6 16:37:48 2021 -0600

    Mark field as unused
    
    I'm in the middle of refactoring CompositingAffines, so let's allow
    this field for now.

 src/drawing_ctx.rs | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/src/drawing_ctx.rs b/src/drawing_ctx.rs
index 87cb9c56..01cfab4d 100644
--- a/src/drawing_ctx.rs
+++ b/src/drawing_ctx.rs
@@ -1861,6 +1861,7 @@ fn element_can_be_used_inside_use_inside_clip_path(element: &Element) -> bool {
 #[derive(Debug)]
 struct CompositingAffines {
     pub outside_temporary_surface: Transform,
+    #[allow(unused)]
     pub initial: Transform,
     pub for_temporary_surface: Transform,
     pub compositing: Transform,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]