projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f8d01d3
)
tar: fix "unused parameter 'gzip'" warning
author
Denis Vlasenko
<vda.linux@googlemail.com>
Sat, 14 Jun 2008 19:38:35 +0000
(19:38 -0000)
committer
Denis Vlasenko
<vda.linux@googlemail.com>
Sat, 14 Jun 2008 19:38:35 +0000
(19:38 -0000)
archival/tar.c
patch
|
blob
|
history
diff --git
a/archival/tar.c
b/archival/tar.c
index 545081a01562bf65d90d36a15d0196a989a9ea45..64a4e35bee8fa2671f1cec8a84bc44993f94baf1 100644
(file)
--- a/
archival/tar.c
+++ b/
archival/tar.c
@@
-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)
+#define vfork_compressor(tar_fd, gzip) vfork_compressor(tar_fd)
+#endif
/* Don't inline: vfork scares gcc and pessimizes code */
static void NOINLINE vfork_compressor(int tar_fd, int gzip)
{