Skip to content

Commit

Permalink
canerrsim: main(): initialize bool variables
Browse files Browse the repository at this point in the history
  • Loading branch information
marckleinebudde committed May 23, 2024
1 parent a635546 commit 55e5249
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion canerrsim.c
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ int main(int argc, char *argv[])
struct sockaddr_can addr;
struct ifreq ifr;
struct can_frame frame;
bool show_bits, location_processed, transceiver_processed, arbitration_processed = false;
bool show_bits = false, location_processed = false, transceiver_processed = false, arbitration_processed = false;
char tmp_str[256];

printf("CAN Sockets Error Messages Simulator\n");
Expand Down

0 comments on commit 55e5249

Please sign in to comment.