Skip to content

Commit

Permalink
hide compiler warning about unused return value
Browse files Browse the repository at this point in the history
  • Loading branch information
mwarning committed Jul 1, 2019
1 parent 4f53bf9 commit cf79121
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util.c
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ static int _execute_ret(char* msg, int msg_len, const char *cmd)
}

if (msg && msg_len > 0) {
fread(msg, msg_len - 1, 1, fp);
rc = fread(msg, msg_len - 1, 1, fp);
}

rc = pclose(fp);
Expand Down

0 comments on commit cf79121

Please sign in to comment.