aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_send.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_send.c')
-rw-r--r--tests/test_send.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/test_send.c b/tests/test_send.c
index 7944e6ff..fecb2596 100644
--- a/tests/test_send.c
+++ b/tests/test_send.c
@@ -48,8 +48,7 @@ START_TEST (test_send_single_frame)
{
const uint8_t payload[] = {0x12, 0x34};
uint16_t arbitration_id = 0x2a;
- IsoTpSendHandle handle = isotp_send(&SHIMS, arbitration_id, payload,
- sizeof(payload), message_sent);
+ isotp_send(&SHIMS, arbitration_id, payload, sizeof(payload), message_sent);
ck_assert_int_eq(last_message_sent_arb_id, arbitration_id);
fail_unless(last_message_sent_status);
ck_assert_int_eq(last_message_sent_payload[0], 0x12);