Commit e83e70ee authored by Laurent THOMAS's avatar Laurent THOMAS

perfect use of not initialized variable: random assert

parent 97cfa995
This diff is collapsed.
...@@ -9,7 +9,7 @@ All logging facility parameters are defined in the log_config section. Some para ...@@ -9,7 +9,7 @@ All logging facility parameters are defined in the log_config section. Some para
|:---:|:---:|:---:|:----| |:---:|:---:|:---:|:----|
| `global_log_level` | `pre-defined string of char` | `info` | Allows printing of messages up to the specified level. Available levels, from lower to higher are `error`,`warn`,`info`,`debug`,`trace` | | `global_log_level` | `pre-defined string of char` | `info` | Allows printing of messages up to the specified level. Available levels, from lower to higher are `error`,`warn`,`info`,`debug`,`trace` |
| `global_log_online` | `boolean` | 1 (=true) | If false, all console messages are discarded, whatever their level | | `global_log_online` | `boolean` | 1 (=true) | If false, all console messages are discarded, whatever their level |
| `global_log_options` | `list of pre-defined string of char` | | 3 options can be specified to trigger the information added in the header of the message: `nocolor`, disable color usage in log messages, usefull when redirecting logs to a file, where escape sequences used for color selection can be annoying, `level`, add a one letter level id in the message header (T,D,I,W,E for trace, debug, info, warning, error),`thread`, add the thread name in the message header, `function`, adds the function name, `line`, adds the line number, `time` adds the time since process starts| | `global_log_options` | `list of pre-defined string of char` | | 3 options can be specified to trigger the information added in the header of the message: `nocolor`, disable color usage in log messages, usefull when redirecting logs to a file, where escape sequences used for color selection can be annoying, `level`, add a one letter level id in the message header (T,D,I,W,E for trace, debug, info, warning, error),`thread`, add the thread name in the message header, `function`, adds the function name, `line_num`, adds the line number, `time` adds the time since process starts|
### Component specific parameters ### Component specific parameters
| name | type | default | description | | name | type | default | description |
......
...@@ -73,7 +73,7 @@ mapping log_options[] = { ...@@ -73,7 +73,7 @@ mapping log_options[] = {
{"nocolor", FLAG_NOCOLOR }, {"nocolor", FLAG_NOCOLOR },
{"level", FLAG_LEVEL }, {"level", FLAG_LEVEL },
{"thread", FLAG_THREAD }, {"thread", FLAG_THREAD },
{"line", FLAG_FILE_LINE }, {"line_num", FLAG_FILE_LINE },
{"function", FLAG_FUNCT}, {"function", FLAG_FUNCT},
{"time", FLAG_TIME} {"time", FLAG_TIME}
}; };
......
...@@ -483,7 +483,7 @@ rrc_gNB_process_NGAP_INITIAL_CONTEXT_SETUP_REQ( ...@@ -483,7 +483,7 @@ rrc_gNB_process_NGAP_INITIAL_CONTEXT_SETUP_REQ(
uint16_t ue_initial_id; uint16_t ue_initial_id;
uint32_t gNB_ue_ngap_id; uint32_t gNB_ue_ngap_id;
rrc_gNB_ue_context_t *ue_context_p = NULL; rrc_gNB_ue_context_t *ue_context_p = NULL;
protocol_ctxt_t ctxt; protocol_ctxt_t ctxt={0};
uint8_t pdu_sessions_done = 0; uint8_t pdu_sessions_done = 0;
gtpv1u_gnb_create_tunnel_req_t create_tunnel_req; gtpv1u_gnb_create_tunnel_req_t create_tunnel_req;
gtpv1u_gnb_create_tunnel_resp_t create_tunnel_resp; gtpv1u_gnb_create_tunnel_resp_t create_tunnel_resp;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment