tests: endpoint: fix coverity 'side effect in assertion' error

This commit is contained in:
Julian Bouzas 2021-06-29 10:51:08 -04:00
parent d576fde2d7
commit 8505078a80

View file

@ -620,7 +620,8 @@ test_endpoint_with_props (TestEndpointFixture *fixture, gconstpointer data)
g_assert_nonnull (iterator);
g_assert_true (wp_iterator_next (iterator, &item));
g_assert_nonnull ((pod = g_value_dup_boxed (&item)));
pod = g_value_dup_boxed (&item);
g_assert_nonnull (pod);
g_assert_true (wp_spa_pod_get_object (pod, NULL,
"volume", "f", &float_value,