mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-30 16:51:41 +00:00
Remove uneeded cast.
This commit is contained in:
parent
a58833a16a
commit
d4bad9978e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=116222
@ -152,7 +152,7 @@ mk_fn(int cflag, const char *f1, const char *f2, char *fn[])
|
|||||||
if ((fd = mkstemp(tname)) == -1)
|
if ((fd = mkstemp(tname)) == -1)
|
||||||
err(1, NULL);
|
err(1, NULL);
|
||||||
close(fd);
|
close(fd);
|
||||||
fn[i++] = (char *)tname;
|
fn[i++] = tname;
|
||||||
}
|
}
|
||||||
if (!(fn[i] = (char *)f2)) {
|
if (!(fn[i] = (char *)f2)) {
|
||||||
p = (p = strrchr(f1, '/')) ? p + 1 : f1;
|
p = (p = strrchr(f1, '/')) ? p + 1 : f1;
|
||||||
|
Loading…
Reference in New Issue
Block a user