aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrian Herrmann <adrian.herrmann@qt.io>2022-10-07 11:32:58 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2022-10-07 10:31:22 +0000
commit8e86e4812702e8dd57cac59bfc9068c92e4e25d5 (patch)
tree91eccd730d97f6a31e13934e6079690aafc37b50
parent87a9cd7472b7da57f86299dc58f0e24fc30f4878 (diff)
shiboken6/macOS: Remove dupl. check in condition
Amends 92943cbb530edb4fd8b7292b3b0ea964d7a6fdde. Pick-to: 6.3 5.15 Change-Id: I33b1ad04da02a30802c8468b24f008a6505684f1 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
-rw-r--r--sources/shiboken6/ApiExtractor/clangparser/clangbuilder.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/sources/shiboken6/ApiExtractor/clangparser/clangbuilder.cpp b/sources/shiboken6/ApiExtractor/clangparser/clangbuilder.cpp
index 8fb362214..1973d3d38 100644
--- a/sources/shiboken6/ApiExtractor/clangparser/clangbuilder.cpp
+++ b/sources/shiboken6/ApiExtractor/clangparser/clangbuilder.cpp
@@ -827,7 +827,6 @@ bool BuilderPrivate::visitHeader(const QString &fileName) const
// They are installed under /Applications/Xcode.app/Contents/Developer/Platforms...
if (baseName == u"gltypes.h"
|| fileName.contains(u"/usr/include/_types")
- || fileName.contains(u"/usr/include/_types")
|| fileName.contains(u"/usr/include/sys/_types")) {
return true;
}