]> git.mjollnir.org Git - cil.git/commitdiff
Remove more dead code in main program
authorSam Vilain <sam.vilain@catalyst.net.nz>
Sun, 22 Jun 2008 23:41:45 +0000 (11:41 +1200)
committerSam Vilain <sam.vilain@catalyst.net.nz>
Sun, 22 Jun 2008 23:41:45 +0000 (11:41 +1200)
This time because I didn't save my editor window before committing :-}

bin/cil

diff --git a/bin/cil b/bin/cil
index a12862181cdb4e56d35a0b2dc8ecfb55932f03b0..47cec329c0a8dfc0bbb87d5a3aad98fbaa04c1a3 100755 (executable)
--- a/bin/cil
+++ b/bin/cil
@@ -95,9 +95,6 @@ EOF
        if @ARGV == 0;
 
     my $command = shift @ARGV;
-    if ( not defined $command ) {
-       Getopt::Mixed::abortMsg("no command specified");
-    }
     no strict 'refs';
     if ( not defined &{"cmd_$command"} ) {
        Getopt::Mixed::abortMsg("'$command' is not a valid cil command.");