From 73f0011836e992c74bd7ac71fae2d149844855ad Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 26 Jan 2009 13:51:31 -0500 Subject: remove unnecessary returns check_canremove/canrename is called only for its side effect (of failing if removal is not allowed), its return value is never used and returning something makes that unclear --- IkiWiki/Plugin/remove.pm | 1 - 1 file changed, 1 deletion(-) (limited to 'IkiWiki/Plugin') diff --git a/IkiWiki/Plugin/remove.pm b/IkiWiki/Plugin/remove.pm index f62bfb1d7..3f1704846 100644 --- a/IkiWiki/Plugin/remove.pm +++ b/IkiWiki/Plugin/remove.pm @@ -73,7 +73,6 @@ sub check_canremove ($$$) { } } }); - return $canremove; } sub formbuilder_setup (@) { -- cgit v1.2.3