1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-11-28 08:02:54 +00:00

Get rid of a cast to '(void) ' on the return of a call to strcpy.

This commit is contained in:
Garance A Drosehn 2004-06-22 02:18:29 +00:00
parent bdbc9a5cb9
commit 29d2bd4314
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=130897

View File

@ -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);
}