QProcess/Unix: fix build in debug mode

qprocess_unix.cpp:633:55: error: ‘i’ was not declared in this scope

Change-Id: I152fbd9df6e9d3f31e2c2c8b23a3c1ab87aa237a
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
Alex Trotsenko 2021-05-22 21:16:04 +03:00
parent 6725f0f77d
commit 76bd873030

View File

@ -630,7 +630,7 @@ bool QProcessPrivate::processStarted(QString *errorMessage)
childStartedPipe[0] = -1;
#if defined (QPROCESS_DEBUG)
qDebug("QProcessPrivate::processStarted() == %s", i <= 0 ? "true" : "false");
qDebug("QProcessPrivate::processStarted() == %s", ret <= 0 ? "true" : "false");
#endif
if (ret <= 0) { // process successfully started