diff options
author | Marc Mutz <marc.mutz@qt.io> | 2023-07-03 18:39:01 +0200 |
---|---|---|
committer | Marc Mutz <marc.mutz@qt.io> | 2023-07-05 23:13:08 +0000 |
commit | 4443d392e4f234a5315cfd773559af936cb62ddb (patch) | |
tree | a4c9364acd1d92a9303534d9ff04c5dbe9a24308 /src/opengl/qopenglfunctions_3_3_compatibility.cpp | |
parent | a4125f421b7b37db156bcae04459ab063c3bb9bd (diff) |
QOpenGLFunctions: fix -Wunused-private-field (Clang 15)
I see this with -unity-build -unity-build-batch-size 32, but I don't
know whether it's unity-build or just Clang 15, so also pick to
6.2. The issue exists in 5.15, too, presumably, but I have no desire
to find a non-C++17 fix.
It appears the generator (glgen) is out-of-sync with the state of its
supposed output as of at least 18aae36a90c0753f1b1e615ba8437d8ebd1bd2fb,
so don't try to update the generator (I failed to find where these
fields originate from, anyway).
Pick-to: 6.6 6.5 6.2
Task-number: QTBUG-115031
Change-Id: Ia27620b8f8034c3e8eff383abb849e6ce93dce8a
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/opengl/qopenglfunctions_3_3_compatibility.cpp')
-rw-r--r-- | src/opengl/qopenglfunctions_3_3_compatibility.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/opengl/qopenglfunctions_3_3_compatibility.cpp b/src/opengl/qopenglfunctions_3_3_compatibility.cpp index 0c61516ca1..60ef10553b 100644 --- a/src/opengl/qopenglfunctions_3_3_compatibility.cpp +++ b/src/opengl/qopenglfunctions_3_3_compatibility.cpp @@ -49,7 +49,6 @@ QOpenGLFunctions_3_3_Compatibility::QOpenGLFunctions_3_3_Compatibility() , d_1_2_Deprecated(nullptr) , d_1_3_Deprecated(nullptr) , d_1_4_Deprecated(nullptr) - , m_reserved_2_0_Deprecated(nullptr) , d_3_3_Deprecated(nullptr) { } |