Get rid of a cast to '(void) ' on the return of a call to strcpy.
This commit is contained in:
parent
1612cc764a
commit
4c97ab9a6b
@ -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