diff options
author | 2015-12-22 08:18:36 +0000 | |
---|---|---|
committer | 2015-12-22 08:18:36 +0000 | |
commit | ee17cb65dd0ed5c48f9447cf7c39080e38daf95d (patch) | |
tree | eb6f9986b6ad2415f3e142d38b4375f170cea0b2 | |
parent | Remove a couple needless allocation casts. No binary change. (diff) | |
download | wireguard-openbsd-ee17cb65dd0ed5c48f9447cf7c39080e38daf95d.tar.xz wireguard-openbsd-ee17cb65dd0ed5c48f9447cf7c39080e38daf95d.zip |
Remove a needless allocation cast. No binary change.
-rw-r--r-- | bin/csh/glob.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/csh/glob.c b/bin/csh/glob.c index e2f0f3197f2..c21c56559c0 100644 --- a/bin/csh/glob.c +++ b/bin/csh/glob.c @@ -1,4 +1,4 @@ -/* $OpenBSD: glob.c,v 1.20 2015/10/26 22:03:06 naddy Exp $ */ +/* $OpenBSD: glob.c,v 1.21 2015/12/22 08:18:36 mmcc Exp $ */ /* $NetBSD: glob.c,v 1.10 1995/03/21 09:03:01 cgd Exp $ */ /*- @@ -865,7 +865,7 @@ Gcat(Char *s1, Char *s2) gargv = xreallocarray(gargv, gargsiz, sizeof(Char *)); } gargv[gargc] = 0; - p = gargv[gargc - 1] = (Char *) xreallocarray(NULL, n, sizeof(Char)); + p = gargv[gargc - 1] = xreallocarray(NULL, n, sizeof(Char)); for (q = s1; (*p++ = *q++) != '\0';) continue; for (p--, q = s2; (*p++ = *q++) != '\0';) |