tst_qprocess: remove unused loop counter

Change-Id: I1eece5a676cfa02fff27be01f25b07ddd82c40d6
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
Johannes Kauffmann 2022-09-20 01:28:26 +02:00
parent 8e577b6d10
commit 2ce2992f5e

View File

@ -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();
}
}