Commit 8470fbd7 authored by Avinash Sonawane's avatar Avinash Sonawane
Browse files

Remove memset

parent a4da98b9
Pipeline #11710 passed with stages
in 1 minute and 23 seconds
......@@ -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)
......
Supports Markdown
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