Remove redondant argument numbers check
authorHugo Villeneuve <hugo@hugovil.com>
Wed, 22 Jan 2014 18:24:39 +0000 (13:24 -0500)
committerHugo Villeneuve <hugo@hugovil.com>
Fri, 24 Jan 2014 03:54:33 +0000 (22:54 -0500)
bomgen/bomgen.php

index 4ee08ee..1108cf1 100755 (executable)
@@ -66,12 +66,6 @@ function usage()
   echo "          pcad or altium\n";
 }
 
-if ($argc < 2) {
-  echo "Missing source filename\n";
-  usage();
-  exit(1);
-}
-
 $cg = new Console_Getopt();
 
 /* Read the command line. */