tar: fix "unused parameter 'gzip'" warning

This commit is contained in:
Denis Vlasenko 2008-06-14 19:38:35 +00:00
parent f8d01d3f66
commit 7a762f9dbf

View File

@ -504,6 +504,9 @@ static int writeFileToTarball(const char *fileName, struct stat *statbuf,
} }
#if ENABLE_FEATURE_TAR_GZIP || ENABLE_FEATURE_TAR_BZIP2 #if ENABLE_FEATURE_TAR_GZIP || ENABLE_FEATURE_TAR_BZIP2
#if !(ENABLE_FEATURE_TAR_GZIP && ENABLE_FEATURE_TAR_BZIP2)
#define vfork_compressor(tar_fd, gzip) vfork_compressor(tar_fd)
#endif
/* Don't inline: vfork scares gcc and pessimizes code */ /* Don't inline: vfork scares gcc and pessimizes code */
static void NOINLINE vfork_compressor(int tar_fd, int gzip) static void NOINLINE vfork_compressor(int tar_fd, int gzip)
{ {