[librsvg: 2/13] Remove needless return statement




commit 9a33417163471b664e04fac59f2d01bf8ea28ab4
Author: Sven Neumann <sven svenfoo org>
Date:   Tue Aug 25 14:21:51 2020 +0200

    Remove needless return statement
    
    See https://rust-lang.github.io/rust-clippy/master/index.html#needless_return

 librsvg/c_api.rs | 1 -
 1 file changed, 1 deletion(-)
---
diff --git a/librsvg/c_api.rs b/librsvg/c_api.rs
index e87fdf26..ffe6a209 100644
--- a/librsvg/c_api.rs
+++ b/librsvg/c_api.rs
@@ -687,7 +687,6 @@ impl CHandle {
 
             _ => {
                 rsvg_g_critical("Handle must not be closed in order to write to it");
-                return;
             }
         }
     }


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