tests: Add unused annotation
The variables exist for memory management but are unused otherwise. Tag them as such.
This commit is contained in:
parent
6d542edf8a
commit
422fc5facf
1 changed files with 2 additions and 2 deletions
|
@ -200,7 +200,7 @@ test_ssm_new_full (void)
|
||||||
static void
|
static void
|
||||||
test_ssm_new_no_handler (void)
|
test_ssm_new_no_handler (void)
|
||||||
{
|
{
|
||||||
g_autoptr(FpiSsm) ssm = NULL;
|
G_GNUC_UNUSED g_autoptr(FpiSsm) ssm = NULL;
|
||||||
|
|
||||||
g_test_expect_message (G_LOG_DOMAIN, G_LOG_LEVEL_CRITICAL,
|
g_test_expect_message (G_LOG_DOMAIN, G_LOG_LEVEL_CRITICAL,
|
||||||
"*BUG:*handler*");
|
"*BUG:*handler*");
|
||||||
|
@ -211,7 +211,7 @@ test_ssm_new_no_handler (void)
|
||||||
static void
|
static void
|
||||||
test_ssm_new_wrong_states (void)
|
test_ssm_new_wrong_states (void)
|
||||||
{
|
{
|
||||||
g_autoptr(FpiSsm) ssm = NULL;
|
G_GNUC_UNUSED g_autoptr(FpiSsm) ssm = NULL;
|
||||||
|
|
||||||
g_test_expect_message (G_LOG_DOMAIN, G_LOG_LEVEL_CRITICAL,
|
g_test_expect_message (G_LOG_DOMAIN, G_LOG_LEVEL_CRITICAL,
|
||||||
"*BUG:*nr_states*");
|
"*BUG:*nr_states*");
|
||||||
|
|
Loading…
Reference in a new issue