mirror of https://github.com/PentHertz/srsLTE.git
rrc_asn1_decoder: fix uninit var
This commit is contained in:
parent
edd6e881e3
commit
39680ffd26
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue