aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken6/tests/libsample
diff options
context:
space:
mode:
authorFriedemann Kleint <[email protected]>2023-05-15 10:58:31 +0200
committerFriedemann Kleint <[email protected]>2023-05-15 14:22:45 +0200
commitc49da0d27d1c50d393940b5043f2283f931d4b4b (patch)
treef26d3dd9f10ac7ab27899e4acc122db0024f1904 /sources/shiboken6/tests/libsample
parentfbcf425088f623d440e4a8b342d7fbab9bf5e6b1 (diff)
Revert "shiboken tests: Fix warning about a potentially unused field"
This reverts commit c51c97d2ae6016ef86665b593b8c3e6568161eef. It causes warnings with g++: oddbool.h:101:26: warning: maybe_unused attribute ignored [-Wattributes] Pick-to: 6.5 Change-Id: I23c5aee9b228de304a86c51252d70e23c3eb29e9 Reviewed-by: Adrian Herrmann <[email protected]> Reviewed-by: Shyamnath Premnadh <[email protected]>
Diffstat (limited to 'sources/shiboken6/tests/libsample')
-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 bb617b826..1d6524443 100644
--- a/sources/shiboken6/tests/libsample/oddbool.h
+++ b/sources/shiboken6/tests/libsample/oddbool.h
@@ -98,7 +98,7 @@ public:
#endif // C++ 20
private:
- [[maybe_unused]] int m_value;
+ int m_value;
};
#endif // ODDBOOL_H