[librsvg: 15/19] Remove dead code



commit 0298f282330eeaed14c3bbeb0ab34e64a2709e5d
Author: Federico Mena Quintero <federico gnome org>
Date:   Mon Jan 22 12:32:18 2018 -0600

    Remove dead code

 rust/src/transform.rs | 17 -----------------
 1 file changed, 17 deletions(-)
---
diff --git a/rust/src/transform.rs b/rust/src/transform.rs
index 5b86d38..82038ce 100644
--- a/rust/src/transform.rs
+++ b/rust/src/transform.rs
@@ -176,23 +176,6 @@ fn parse_skewy_args(parser: &mut Parser) -> Result<cairo::Matrix, AttributeError
         .map_err(|e| AttributeError::from(e))
 }
 
-/*
-pub fn parse_transform (s: &str) -> Result <cairo::Matrix, AttributeError> {
-    let r = parse_TransformList (s);
-
-    match r {
-        Ok (m) => {
-            m.try_invert ().map (|_| m)
-                .map_err (|_| AttributeError::Value ("invalid transformation matrix".to_string ()))
-        },
-
-        Err (e) => {
-            Err (AttributeError::Parse (ParseError::new (format! ("{:?}", e))))
-        }
-    }
-}
-*/
-
 #[cfg(test)]
 fn make_rotation_matrix (angle_degrees: f64, tx: f64, ty: f64) -> cairo::Matrix {
     let angle = angle_degrees * PI / 180.0;


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