Removes unreferenced variable

This commit is contained in:
Michael Jones 2013-08-22 14:20:20 -05:00
parent 81f56ebf5b
commit 5a058b5f85
1 changed files with 0 additions and 3 deletions

View File

@ -158,19 +158,16 @@ static int isQtOption(const QString& param)
if (param.left(5) == "-psn_") return 1;
#endif
QString name = param.mid(1), value;
bool hasEquals;
// Separate the option and the value, if present
if (name.indexOf('=') != -1)
{
value = param.section('=', 1);
name = param.section('=', 0, 0);
hasEquals = true;
}
else
{
value = "";
hasEquals = false;
}
const char* option;