Commit 3082727e authored by Raphael Defosseux's avatar Raphael Defosseux
Browse files

[cppcheck] fix all 3 errors


Signed-off-by: Raphael Defosseux's avatarRaphael Defosseux <raphael.defosseux@eurecom.fr>
parent 962473d4
Pipeline #24238 passed with stage
in 0 seconds
...@@ -75,7 +75,7 @@ class nrf_config { ...@@ -75,7 +75,7 @@ class nrf_config {
unsigned int sbi_http2_port; unsigned int sbi_http2_port;
std::string sbi_api_version; std::string sbi_api_version;
// Local configuration // Local configuration
bool local_configuration; bool local_configuration = false;
nrf_config() : m_rw_lock(), pid_dir(), instance(0), sbi() { nrf_config() : m_rw_lock(), pid_dir(), instance(0), sbi() {
sbi.port = 80; sbi.port = 80;
......
...@@ -43,6 +43,8 @@ class nrf_search_result { ...@@ -43,6 +43,8 @@ class nrf_search_result {
public: public:
nrf_search_result() { nrf_search_result() {
limit_nf_instances = 10; // default value, TODO: to be removed limit_nf_instances = 10; // default value, TODO: to be removed
validity_period = 0;
num_nf_inst_complete = 0;
}; };
nrf_search_result(nrf_search_result const&) = delete; nrf_search_result(nrf_search_result const&) = delete;
......
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