aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken6/tests
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2023-03-29 10:37:54 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2023-03-29 23:27:23 +0200
commitc51c97d2ae6016ef86665b593b8c3e6568161eef (patch)
treeea4721d4e17a4f6872c663477e055f1d5206e20b /sources/shiboken6/tests
parent66fb8337365d88638ebabe3e6e5684a4cae5109f (diff)
shiboken tests: Fix warning about a potentially unused field
Pick-to: 6.5 Change-Id: Iea85d6304e83cf35244ce0be466eaf1d1db2141d Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'sources/shiboken6/tests')
-rw-r--r--sources/shiboken6/tests/libsample/oddbool.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/shiboken6/tests/libsample/oddbool.h b/sources/shiboken6/tests/libsample/oddbool.h
index 1d6524443..bb617b826 100644
--- a/sources/shiboken6/tests/libsample/oddbool.h
+++ b/sources/shiboken6/tests/libsample/oddbool.h
@@ -98,7 +98,7 @@ public:
#endif // C++ 20
private:
- int m_value;
+ [[maybe_unused]] int m_value;
};
#endif // ODDBOOL_H