projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
53be247
)
remove unnecessary returns
author
Joey Hess
<joey@gnu.kitenet.net>
Mon, 26 Jan 2009 18:51:31 +0000
(13:51 -0500)
committer
Joey Hess
<joey@gnu.kitenet.net>
Mon, 26 Jan 2009 18:55:32 +0000
(13:55 -0500)
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
patch
|
blob
|
history
diff --git
a/IkiWiki/Plugin/remove.pm
b/IkiWiki/Plugin/remove.pm
index f62bfb1d75d55d0f78096567085e9f993a194307..3f1704846407aa55baad6dd662ba4c263dd25cec 100644
(file)
--- a/
IkiWiki/Plugin/remove.pm
+++ b/
IkiWiki/Plugin/remove.pm
@@
-73,7
+73,6
@@
sub check_canremove ($$$) {
}
}
});
- return $canremove;
}
sub formbuilder_setup (@) {