diff options
author | David Cole <david.cole@kitware.com> | 2006-02-06 14:31:55 (GMT) |
---|---|---|
committer | David Cole <david.cole@kitware.com> | 2006-02-06 14:31:55 (GMT) |
commit | a5d2c59c39a37ed3d6ed7515bec69291add211c6 (patch) | |
tree | ffdd8b2c0e7d83543828a13037b3107d8def111d /Utilities/cmtar/wrapper.c | |
parent | c081c7ef99a334152e7a2c80d87c9e0f4c0f9b8c (diff) | |
download | CMake-a5d2c59c39a37ed3d6ed7515bec69291add211c6.zip CMake-a5d2c59c39a37ed3d6ed7515bec69291add211c6.tar.gz CMake-a5d2c59c39a37ed3d6ed7515bec69291add211c6.tar.bz2 |
COMP: Fix CMake dashboard warnings related to previous revisions.
Diffstat (limited to 'Utilities/cmtar/wrapper.c')
-rw-r--r-- | Utilities/cmtar/wrapper.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Utilities/cmtar/wrapper.c b/Utilities/cmtar/wrapper.c index e82b96e..c7a1516 100644 --- a/Utilities/cmtar/wrapper.c +++ b/Utilities/cmtar/wrapper.c @@ -13,6 +13,8 @@ #include <libtarint/internal.h> #include <stdio.h> +#include <stdlib.h> + #include <libtar/compat.h> #if defined(HAVE_SYS_PARAM_H) #include <sys/param.h> @@ -39,7 +41,7 @@ tar_extract_glob(TAR *t, char *globname, char *prefix) char *filename; char buf[TAR_MAXPATHLEN]; int i; - char *pathname = 0; + char *pathname; while ((i = th_read(t)) == 0) { @@ -94,7 +96,7 @@ tar_extract_all(TAR *t, char *prefix) char *filename; char buf[TAR_MAXPATHLEN]; int i; - char *pathname = 0; + char *pathname; #ifdef DEBUG printf("==> tar_extract_all(TAR *t, \"%s\")\n", |