aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/tar.c
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2006-04-20 20:18:13 +0000
committerrsc <devnull@localhost>2006-04-20 20:18:13 +0000
commit4515de8f502e7784d7901ef42ca3e4cecae07a09 (patch)
tree7db6ab97ddf15ea5ee502ff408d2204d1576777b /src/cmd/tar.c
parente6dad55ae3498c3b13a700e4a8b5c586e444618d (diff)
downloadplan9port-4515de8f502e7784d7901ef42ca3e4cecae07a09.tar.gz
plan9port-4515de8f502e7784d7901ef42ca3e4cecae07a09.tar.bz2
plan9port-4515de8f502e7784d7901ef42ca3e4cecae07a09.zip
silence warning (andrey)
Diffstat (limited to 'src/cmd/tar.c')
-rw-r--r--src/cmd/tar.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cmd/tar.c b/src/cmd/tar.c
index c863aff2..42dbef15 100644
--- a/src/cmd/tar.c
+++ b/src/cmd/tar.c
@@ -16,7 +16,8 @@
* keyletters and options.
*/
#define TARGBEGIN {\
- (argv0 || (argv0 = *argv)), argv++, argc--;\
+ if (!argv0) argv0 = *argv; \
+ argv++, argc--;\
if (argv[0]) {\
char *_args, *_argt;\
Rune _argc;\