]> sipb.mit.edu Git - ikiwiki.git/commitdiff
minor simplification
authorJoey Hess <joey@gnu.kitenet.net>
Thu, 10 Sep 2009 20:20:21 +0000 (16:20 -0400)
committerJoey Hess <joey@gnu.kitenet.net>
Thu, 10 Sep 2009 20:20:21 +0000 (16:20 -0400)
IkiWiki/Plugin/cvs.pm

index dad28881d985f6c7a8fb8d103598663e27932110..c891174e07300611677f5a54fb36847a646fc1f6 100644 (file)
@@ -24,7 +24,7 @@ sub import {
 }
 
 sub genwrapper () {
-       my $check_args=<<"EOF";
+       return <<EOF;
        {
                int j;
                for (j = 1; j < argc; j++)
@@ -32,7 +32,6 @@ sub genwrapper () {
                                exit(0);
        }
 EOF
-       return $check_args;
 }
 
 sub checkconfig () {