tests: Fix another clang compiler warning

Compiling with clang 21.1.2 leads to following warning:

```
../glib/tests/cxx.cpp:566:1: warning: non-void function does not return a value in all control paths [-Wreturn-type]
  566 | }
```

Add the theoretically missing return statement, even though the if-block
should always be reached. Since no other compiler warned about the
unreachable statement with this change, this should be okay.
This commit is contained in:
Tobias Stoeckmann
2025-09-25 21:11:35 +02:00
parent 11ac1c4ae3
commit de6e8f0a45

View File

@@ -563,6 +563,7 @@ g_likely_test_expr (void)
{
return TRUE;
}
return FALSE;
}
static void