From c2445aeadb4ee49667d75ae0ed7162fd9fb3aec4 Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Tue, 25 Oct 2022 09:19:30 -0700 Subject: [PATCH] tst_QFile: remove unused variable on Windows Removes a warning in the build. Pick-to: 6.4 Change-Id: I07ec23f3cb174fb197c3fffd17215c40b40333cb Reviewed-by: Volker Hilsheimer --- tests/auto/corelib/io/qfile/tst_qfile.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/auto/corelib/io/qfile/tst_qfile.cpp b/tests/auto/corelib/io/qfile/tst_qfile.cpp index 1f3523b791..625de41795 100644 --- a/tests/auto/corelib/io/qfile/tst_qfile.cpp +++ b/tests/auto/corelib/io/qfile/tst_qfile.cpp @@ -1557,7 +1557,6 @@ void tst_QFile::copyFallback() #if defined(Q_OS_WIN) static QString getWorkingDirectoryForLink(const QString &linkFileName) { - bool neededCoInit = false; QString ret; QComHelper comHelper;