Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
oai
cn5g
oai-cn5g-nrf
Commits
3082727e
Commit
3082727e
authored
Mar 30, 2021
by
Raphael Defosseux
Browse files
[cppcheck] fix all 3 errors
Signed-off-by:
Raphael Defosseux
<
raphael.defosseux@eurecom.fr
>
parent
962473d4
Pipeline
#24238
passed with stage
in 0 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/nrf_app/nrf_config.hpp
View file @
3082727e
...
@@ -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
;
...
...
src/nrf_app/nrf_search_result.hpp
View file @
3082727e
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment