From 36ea42effc0cb7eee55f0545221e6f8fffaa1179 Mon Sep 17 00:00:00 2001 From: Edward Welbourne Date: Wed, 17 Feb 2021 12:44:03 +0100 Subject: [PATCH] Remove redundant code in androiddeployqt/main.cpp Prompted by a PVS-studio article. Pick-to: 6.1 6.0 Change-Id: I9699cc9baf9c90a6cf5b9564cd175205a9b2fa6b Reviewed-by: Assam Boudjelthia --- src/tools/androiddeployqt/main.cpp | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/src/tools/androiddeployqt/main.cpp b/src/tools/androiddeployqt/main.cpp index 3936c108b5b..c7b85071b04 100644 --- a/src/tools/androiddeployqt/main.cpp +++ b/src/tools/androiddeployqt/main.cpp @@ -1,6 +1,6 @@ /**************************************************************************** ** -** Copyright (C) 2019 The Qt Company Ltd. +** Copyright (C) 2021 The Qt Company Ltd. ** Contact: https://www.qt.io/licensing/ ** ** This file is part of the tools applications of the Qt Toolkit. @@ -2206,16 +2206,9 @@ bool copyQtFiles(Options *options) qPrintable(sourceFileName)); } } else { - if (unmetDependencies.isEmpty()) { - if (options->verbose) { - fprintf(stdout, " -- Skipping %s, architecture mismatch.\n", - qPrintable(sourceFileName)); - } - } else { - fprintf(stdout, " -- Skipping %s. It has unmet dependencies: %s.\n", - qPrintable(sourceFileName), - qPrintable(unmetDependencies.join(QLatin1Char(',')))); - } + fprintf(stdout, " -- Skipping %s. It has unmet dependencies: %s.\n", + qPrintable(sourceFileName), + qPrintable(unmetDependencies.join(QLatin1Char(',')))); } continue; }