Get rid of a cast to '(void) ' on the return of a call to strcpy.
This commit is contained in:
parent
bdbc9a5cb9
commit
29d2bd4314
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=130897
@ -127,6 +127,6 @@ fmt_argv(char **argv, char *cmd, size_t maxlen)
|
||||
else if (strncmp(cmdpart(argv[0]), cmd, maxlen) != 0)
|
||||
sprintf(cp, "%s (%.*s)", ap, (int)maxlen, cmd);
|
||||
else
|
||||
(void) strcpy(cp, ap);
|
||||
strcpy(cp, ap);
|
||||
return (cp);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user