Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
alex037yang
OpenXG-RAN
Commits
1d86c8a9
Commit
1d86c8a9
authored
Jan 22, 2019
by
frtabu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix compilation bugs after cppcheck fixes
parent
1cb484f1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
common/config/config_cmdline.c
common/config/config_cmdline.c
+1
-1
nfapi/oai_integration/nfapi_vnf.c
nfapi/oai_integration/nfapi_vnf.c
+2
-2
No files found.
common/config/config_cmdline.c
View file @
1d86c8a9
...
...
@@ -167,7 +167,7 @@ int config_check_unknown_cmdlineopt(char *prefix) {
char
testprefix
[
CONFIG_MAXOPTLENGTH
];
int
finalcheck
=
0
;
memset
(
testpref
,
0
,
sizeof
(
testprefix
));
memset
(
testpref
ix
,
0
,
sizeof
(
testprefix
));
if
(
prefix
!=
NULL
)
{
if
(
strcmp
(
prefix
,
CONFIG_CHECKALLSECTIONS
)
==
0
)
finalcheck
=
1
;
...
...
nfapi/oai_integration/nfapi_vnf.c
View file @
1d86c8a9
...
...
@@ -270,7 +270,7 @@ int pnf_param_resp_cb(nfapi_vnf_config_t* config, int p5_idx, nfapi_pnf_param_re
for
(
int
i
=
0
;
i
<
resp
->
pnf_phy
.
number_of_phys
;
++
i
)
{
phy_info
phy
;
memset
(
phy
,
0
,
sizeof
(
phy
));
memset
(
&
phy
,
0
,
sizeof
(
phy
));
phy
.
index
=
resp
->
pnf_phy
.
phy
[
i
].
phy_config_index
;
printf
(
"[VNF] (PHY:%d) phy_config_idx:%d
\n
"
,
i
,
resp
->
pnf_phy
.
phy
[
i
].
phy_config_index
);
...
...
@@ -288,7 +288,7 @@ int pnf_param_resp_cb(nfapi_vnf_config_t* config, int p5_idx, nfapi_pnf_param_re
for
(
int
i
=
0
;
i
<
resp
->
pnf_rf
.
number_of_rfs
;
++
i
)
{
rf_info
rf
;
memset
(
rf
,
0
,
sizeof
(
rf
));
memset
(
&
rf
,
0
,
sizeof
(
rf
));
rf
.
index
=
resp
->
pnf_rf
.
rf
[
i
].
rf_config_index
;
printf
(
"[VNF] (RF:%d) rf_config_idx:%d
\n
"
,
i
,
resp
->
pnf_rf
.
rf
[
i
].
rf_config_index
);
...
...
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