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
Shweta Shrivastava
openairinterface5G
Commits
1b4faa8d
Commit
1b4faa8d
authored
May 26, 2021
by
Raphael Defosseux
Browse files
fix added cppcheck errors
Signed-off-by:
Raphael Defosseux
<
raphael.defosseux@eurecom.fr
>
parent
aa6b36a6
Changes
1
Hide whitespace changes
Inline
Side-by-side
common/utils/system.c
View file @
1b4faa8d
...
...
@@ -102,8 +102,8 @@ static int baseRunTimeCommand(char* cmd) {
fp
=
popen
(
cmd
,
"r"
);
memset
(
cmd
,
1
,
200
);
retSize
=
fread
(
cmd
,
1
,
200
,
fp
);
memset
(
cmd
,
1
,
sizeof
(
*
cmd
)
);
retSize
=
fread
(
cmd
,
1
,
sizeof
(
*
cmd
)
,
fp
);
fclose
(
fp
);
if
(
retSize
==
0
)
{
...
...
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