From 251d4c84f696eae58f45e091b3a5f8bb1f20cf00 Mon Sep 17 00:00:00 2001 From: Peter Jones Date: Wed, 2 Mar 2005 00:23:12 +0000 Subject: don't just throw away pipe's return val. throw it away in a variable! --- isys/gzlib/binding.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'isys/gzlib') diff --git a/isys/gzlib/binding.c b/isys/gzlib/binding.c index ecc190f42..f3871f11d 100644 --- a/isys/gzlib/binding.c +++ b/isys/gzlib/binding.c @@ -18,8 +18,9 @@ gzFile gunzip_dopen(int fd) { void * oldsig; pid_t child; gzFile str; + int ret; - pipe(p); + ret = pipe(p); oldsig = signal(SIGCLD, SIG_DFL); @@ -65,8 +66,9 @@ gzFile gzip_dopen(int fd) { void * oldsig; pid_t child; gzFile str; + int ret; - pipe(p); + ret = pipe(p); oldsig = signal(SIGCLD, SIG_IGN); -- cgit