Removes unreferenced variable
This commit is contained in:
parent
81f56ebf5b
commit
5a058b5f85
|
@ -158,19 +158,16 @@ static int isQtOption(const QString& param)
|
||||||
if (param.left(5) == "-psn_") return 1;
|
if (param.left(5) == "-psn_") return 1;
|
||||||
#endif
|
#endif
|
||||||
QString name = param.mid(1), value;
|
QString name = param.mid(1), value;
|
||||||
bool hasEquals;
|
|
||||||
|
|
||||||
// Separate the option and the value, if present
|
// Separate the option and the value, if present
|
||||||
if (name.indexOf('=') != -1)
|
if (name.indexOf('=') != -1)
|
||||||
{
|
{
|
||||||
value = param.section('=', 1);
|
value = param.section('=', 1);
|
||||||
name = param.section('=', 0, 0);
|
name = param.section('=', 0, 0);
|
||||||
hasEquals = true;
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
value = "";
|
value = "";
|
||||||
hasEquals = false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
const char* option;
|
const char* option;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user