tests: msg is undefined when _get_next() return != 1

This commit is contained in:
Wim Taymans 2020-02-07 15:40:28 +01:00
parent 42b1e163d7
commit a1bb1548e6

View file

@ -39,7 +39,6 @@ static void test_create(struct pw_protocol_native_connection *conn)
res = pw_protocol_native_connection_get_next(conn, &msg);
spa_assert(res != 1);
spa_assert(msg != NULL);
res = pw_protocol_native_connection_get_fd(conn, 0);
spa_assert(res == -ENOENT);