canerrsim: main(): initialize bool variables

This commit is contained in:
Marc Kleine-Budde
2024-05-29 21:16:13 +02:00
parent e67e3c675d
commit b7f158b30f
+1 -1
View File
@@ -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");