Merge pull request #194 from marckleinebudde/canfdtest-initialize-tx_frames

canfdtest: can_echo_gen(): initialize tx_frames with zero
pull/227/head
Marc Kleine-Budde 2020-06-17 12:53:32 +02:00 committed by GitHub
commit 063e361cc5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -240,7 +240,7 @@ static int can_echo_dut(void)
static int can_echo_gen(void)
{
struct can_frame tx_frames[CAN_MSG_COUNT];
struct can_frame tx_frames[CAN_MSG_COUNT] = { };
int recv_tx[CAN_MSG_COUNT];
struct can_frame rx_frame;
unsigned char counter = 0;