tst_qprocess: remove unused loop counter
Change-Id: I1eece5a676cfa02fff27be01f25b07ddd82c40d6 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
parent
8e577b6d10
commit
2ce2992f5e
@ -355,9 +355,7 @@ void tst_QProcess::readFromProcess()
|
||||
{
|
||||
QProcess *process = qobject_cast<QProcess *>(sender());
|
||||
QVERIFY(process);
|
||||
int lines = 0;
|
||||
while (process->canReadLine()) {
|
||||
++lines;
|
||||
process->readLine();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user