summaryrefslogtreecommitdiff
path: root/util.c
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2009-09-26 19:40:54 +0200
committerJim Meyering <meyering@redhat.com>2009-09-26 19:43:37 +0200
commitcf608a221f703cf79b58d35495ab6c2fe40cc9a2 (patch)
tree1857a4e563c25913b23717b18d42bc43d2a5faca /util.c
parentd5a6dcea4c4eb1be04be5052fcb3e93c7e5b6d10 (diff)
downloadgzip-cf608a221f703cf79b58d35495ab6c2fe40cc9a2.tar.gz
maint: remove useless casts to avoid "make syntax-check" failures
* gzip.c (do_exit): Remove anachronistic cast. * inflate.c (huft_free): Likewise. * util.c (add_envopt): Likewise. * vms/vms.c (vms_expand_args): Likewise.
Diffstat (limited to 'util.c')
-rw-r--r--util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util.c b/util.c
index f375bf8..1272f56 100644
--- a/util.c
+++ b/util.c
@@ -392,7 +392,7 @@ char *add_envopt(argcp, argvp, env)
/* Allocate the new argv array, with an extra element just in case
* the original arg list did not end with a NULL.
*/
- nargv = (char **) xcalloc (*argcp + 1, sizeof (char *));
+ nargv = xcalloc (*argcp + 1, sizeof (char *));
oargv = *argvp;
*argvp = nargv;