[xiph-commits] r3786 - liboggz/trunk/src/tools

conrad at svn.annodex.net conrad at svn.annodex.net
Sat Nov 15 15:34:18 PST 2008


Author: conrad
Date: 2008-11-15 15:34:18 -0800 (Sat, 15 Nov 2008)
New Revision: 3786

Modified:
   liboggz/trunk/src/tools/oggz-sort.c
Log:
oggz-sort: cleanup duplicate optind check after argument parsing


Modified: liboggz/trunk/src/tools/oggz-sort.c
===================================================================
--- liboggz/trunk/src/tools/oggz-sort.c	2008-11-15 22:58:28 UTC (rev 3785)
+++ liboggz/trunk/src/tools/oggz-sort.c	2008-11-15 23:34:18 UTC (rev 3786)
@@ -414,11 +414,6 @@
     goto exit_err;
   }
 
-  if (optind >= argc) {
-    usage (progname);
-    goto exit_err;
-  }
-
   infilename = argv[optind++];
   osdata_add_file (osdata, infilename);
 



More information about the commits mailing list