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

This commit is contained in:
gad 2004-06-22 02:18:29 +00:00
parent 1612cc764a
commit 4c97ab9a6b

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