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
Avinash Sonawane
xfce4-sensors-plugin
Commits
8470fbd7
Commit
8470fbd7
authored
Oct 12, 2021
by
Avinash Sonawane
Browse files
Remove memset
parent
a4da98b9
Pipeline
#11710
passed with stages
in 1 minute and 23 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
lib/hddtemp.c
View file @
8470fbd7
...
...
@@ -226,11 +226,10 @@ str_split (char *string, const char *delim)
void
read_disks_netcat
(
t_chip
*
chip
)
{
char
reply
[
REPLY_MAX_SIZE
]
,
*
tmp
,
*
tmp2
,
*
tmp3
;
char
*
tmp
,
*
tmp2
,
*
tmp3
,
reply
[
REPLY_MAX_SIZE
]
=
{
0
}
;
int
result
;
t_chipfeature
*
feature
;
memset
(
&
reply
,
0
,
REPLY_MAX_SIZE
);
result
=
get_hddtemp_d_str
(
reply
,
REPLY_MAX_SIZE
);
DBG
(
"reply=%s with result=%d
\n
"
,
reply
,
(
int
)
result
);
if
(
result
==-
1
)
...
...
Write
Preview
Supports
Markdown
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