Fix warnings reported by NVHPC 26.1

libeigen/eigen!2324

Co-authored-by: Rasmus Munk Larsen <rmlarsen@gmail.com>
This commit is contained in:
Rasmus Munk Larsen
2026-03-22 11:43:40 -07:00
parent 71ef987edb
commit 843ffcec8b
8 changed files with 21 additions and 21 deletions

View File

@@ -293,7 +293,8 @@ void mixingtypes(int size = SizeAtCompileType) {
}
EIGEN_DECLARE_TEST(mixingtypes) {
g_called = false; // Silence -Wunneeded-internal-declaration.
g_called = false; // Silence -Wunneeded-internal-declaration and set_but_not_used.
VERIFY(true || g_called);
for (int i = 0; i < g_repeat; i++) {
CALL_SUBTEST_1(mixingtypes<3>());
CALL_SUBTEST_2(mixingtypes<4>());