[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [digikam] core/libs/database/item: fix clang warning
From: Gilles Caulier <null () kde ! org>
Date: 2018-09-25 5:48:27
Message-ID: E1g4gCx-0002zK-8x () code ! kde ! org
[Download RAW message or body]
Git commit 86ff6a81f53fa4049f09e7e83b0b453946ba49ae by Gilles Caulier.
Committed on 25/09/2018 at 05:47.
Pushed by cgilles into branch 'master'.
fix clang warning
M +2 -0 core/libs/database/item/imagecopyright.cpp
https://commits.kde.org/digikam/86ff6a81f53fa4049f09e7e83b0b453946ba49ae
diff --git a/core/libs/database/item/imagecopyright.cpp b/core/libs/database/item/imagecopyright.cpp
index c8466e02ce..343c11d7e3 100644
--- a/core/libs/database/item/imagecopyright.cpp
+++ b/core/libs/database/item/imagecopyright.cpp
@@ -519,6 +519,8 @@ int ImageCopyright::languageMatch(const QList<CopyrightInfo> infos, const QStrin
defaultCodeMatch = -1;
firstMatch = -1;
+ (void)firstMatch; // Remove clang warning.
+
if (infos.isEmpty())
{
return -1;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic