From ffb3749a5aa071646eb0f2317a4502d20d2b9d2d Mon Sep 17 00:00:00 2001 From: Scott Fennell Date: Thu, 27 Sep 2018 15:37:34 -0500 Subject: [PATCH] prevent garbage value in default switch case MatLab4 --- trick_source/data_products/Log/MatLab4.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trick_source/data_products/Log/MatLab4.cpp b/trick_source/data_products/Log/MatLab4.cpp index ab5c0053..c6947422 100644 --- a/trick_source/data_products/Log/MatLab4.cpp +++ b/trick_source/data_products/Log/MatLab4.cpp @@ -20,7 +20,7 @@ MatLab4::MatLab4(char * file_name , char * param_name , char * time_name ) { int temp ; int endian ; int mat_size ; - int type, size = 0; + int type = 0, size = 0; int mat_type ; int my_byte_order ; div_t div_result ;