Removing check that is no longer valid.
authorClark Barrett <barrett@cs.nyu.edu>
Sat, 28 May 2016 00:43:40 +0000 (17:43 -0700)
committerClark Barrett <barrett@cs.nyu.edu>
Sat, 28 May 2016 00:43:40 +0000 (17:43 -0700)
src/main/portfolio_util.cpp

index 03827a917971d46f9e4837976340fb5f4bc2ca5f..8e38eb528a1d2c261d051ef927acd186ea0c2a01 100644 (file)
@@ -98,12 +98,6 @@ void parseThreadSpecificOptions(OptionsList& threadOptions, const Options& opts)
           ss << optid << ": " << e.getMessage();
           throw OptionException(ss.str());
         }
-        if(optind != targc) {
-          stringstream ss;
-          ss << "unused argument `" << targv[optind]
-             << "' in thread configuration " << optid << " !";
-          throw OptionException(ss.str());
-        }
         if(tOpts.getThreads() != numThreads ||
            tOpts.getThreadArgv() != opts.getThreadArgv()) {
           stringstream ss;