summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJulian Bouzas <julian.bouzas@collabora.com>2021-06-24 12:44:15 -0400
committerGeorge Kiagiadakis <george.kiagiadakis@collabora.com>2021-07-28 13:19:02 +0300
commit9b6bb53f1cfc3042e28ef335d4a28bc08a944cc3 (patch)
tree9124b62ca6777abef85fd97763180864895d27e4
parentcc3391e17616173eecb5fd7cba2e966ffcc3959b (diff)
tests: fix coverity scan side effect in assertion issues
Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
-rw-r--r--tests/protocol.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/protocol.c b/tests/protocol.c
index 5e272a1..c8291ff 100644
--- a/tests/protocol.c
+++ b/tests/protocol.c
@@ -52,6 +52,7 @@ test_icipc_protocol ()
g_assert_true (icipc_protocol_is_reply_ok (b, sizeof(b)));
const struct spa_pod *value = NULL;
g_assert_true (icipc_protocol_parse_reply_ok (b, sizeof(b), &value));
+ g_assert_nonnull (value);
g_assert_true (spa_pod_is_none (value));
}