From 2050e32b5f232317593f68916b31ced64e79183d Mon Sep 17 00:00:00 2001 From: Joerg Bornemann Date: Tue, 5 Apr 2016 15:29:49 +0200 Subject: Fix abuse of assignment-in-conditional (and the resulting warning) Change-Id: I2025e3360151c76982c45764cbee332855409dd0 Reviewed-by: Oswald Buddenhagen --- qmake/generators/win32/msvc_vcproj.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'qmake') diff --git a/qmake/generators/win32/msvc_vcproj.cpp b/qmake/generators/win32/msvc_vcproj.cpp index 6206b2c8f1..1d4f722e51 100644 --- a/qmake/generators/win32/msvc_vcproj.cpp +++ b/qmake/generators/win32/msvc_vcproj.cpp @@ -1318,8 +1318,8 @@ void VcprojGenerator::initDeploymentTool() + "|0;"; if (!qpaPluginDeployed) { QChar debugInfixChar; - bool foundGuid = false; - if (foundGuid = dllName.contains(QLatin1String("Guid"))) + bool foundGuid = dllName.contains(QLatin1String("Guid")); + if (foundGuid) debugInfixChar = QLatin1Char('d'); if (foundGuid || dllName.contains(QLatin1String("Gui"))) { -- cgit v1.2.3