Merged in jonesmz/libqxt/qxtcommandoptions1 (pull request #28)

Removes unreferenced variable
This commit is contained in:
Arvid Picciani 2013-08-23 00:14:01 +02:00
commit 60678d3132
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;