From: Michihiro NAKAJIMA Date: Mon, 16 Feb 2009 20:12:49 +0000 (-0500) Subject: Eliminate compiling warning. X-Git-Tag: v2.7.0~258 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bd7e521f56ee84a8ee7bfbe85d641d323c0f3825;p=thirdparty%2Flibarchive.git Eliminate compiling warning. SVN-Revision: 648 --- diff --git a/tar/test/test_symlink_dir.c b/tar/test/test_symlink_dir.c index c60e42901..a8556b6b7 100644 --- a/tar/test/test_symlink_dir.c +++ b/tar/test/test_symlink_dir.c @@ -47,7 +47,10 @@ mkfile(const char *name, int mode, const char *contents, ssize_t size) DEFINE_TEST(test_symlink_dir) { - struct stat st, st2; + struct stat st; +#ifndef _WIN32 + struct stat st2; +#endif int oldumask; oldumask = umask(0);