summaryrefslogtreecommitdiff
path: root/tclap-1.2.1/include/tclap/CmdLine.h
diff options
context:
space:
mode:
Diffstat (limited to 'tclap-1.2.1/include/tclap/CmdLine.h')
-rw-r--r--tclap-1.2.1/include/tclap/CmdLine.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/tclap-1.2.1/include/tclap/CmdLine.h b/tclap-1.2.1/include/tclap/CmdLine.h
index e8d7da1..91d0d0e 100644
--- a/tclap-1.2.1/include/tclap/CmdLine.h
+++ b/tclap-1.2.1/include/tclap/CmdLine.h
@@ -468,9 +468,6 @@ inline void CmdLine::preparse(int argc, const char * const * argv)
inline void CmdLine::preparse(std::vector<std::string>& args)
{
- bool shouldExit = false;
- int estat = 0;
-
try {
_progName = args.front();
@@ -480,13 +477,11 @@ inline void CmdLine::preparse(std::vector<std::string>& args)
for (int i = 0; static_cast<unsigned int>(i) < args.size(); i++)
{
- bool matched = false;
for (ArgListIterator it = _argList.begin();
it != _argList.end(); it++) {
if ( (*it)->processArg( &i, args ) )
{
requiredCount += _xorHandler.check( *it );
- matched = true;
break;
}
}