rrc_asn1_decoder: fix uninit var

This commit is contained in:
Andre Puschmann 2020-04-28 12:05:15 +02:00
parent edd6e881e3
commit 39680ffd26
1 changed files with 3 additions and 3 deletions

View File

@ -65,12 +65,12 @@ void usage(char* prog)
int main(int argc, char** argv) int main(int argc, char** argv)
{ {
FILE* fd; FILE* fd = NULL;
SRSASN_CODE err_code = SRSASN_ERROR_DECODE_FAIL; SRSASN_CODE err_code = SRSASN_ERROR_DECODE_FAIL;
uint8_t* rrc_msg; uint8_t* rrc_msg = NULL;
int verbose = 0; int verbose = 0;
char* file; char* file = NULL;
int type = -1; int type = -1;
if (argc < 2) { if (argc < 2) {