From 76bd8730305b6ad4e69338087bcfb588291be3b4 Mon Sep 17 00:00:00 2001 From: Alex Trotsenko Date: Sat, 22 May 2021 21:16:04 +0300 Subject: QProcess/Unix: fix build in debug mode MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit qprocess_unix.cpp:633:55: error: ā€˜iā€™ was not declared in this scope Change-Id: I152fbd9df6e9d3f31e2c2c8b23a3c1ab87aa237a Reviewed-by: Thiago Macieira --- src/corelib/io/qprocess_unix.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/corelib/io') diff --git a/src/corelib/io/qprocess_unix.cpp b/src/corelib/io/qprocess_unix.cpp index 1a118fc911..79e0cbd1c0 100644 --- a/src/corelib/io/qprocess_unix.cpp +++ b/src/corelib/io/qprocess_unix.cpp @@ -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 -- cgit v1.2.3