From a4cbcea9697c08c894635251bf166fa10be7c97d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fredrik=20H=C3=BCbinette=20=28Hubbe=29?= <hubbe@hubbe.net> Date: Mon, 6 Apr 1998 13:40:04 -0700 Subject: [PATCH] removed a warning Rev: src/modules/Pipe/pipe.c:1.20 --- src/modules/Pipe/pipe.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/Pipe/pipe.c b/src/modules/Pipe/pipe.c index 968af71a5a..f0d6122062 100644 --- a/src/modules/Pipe/pipe.c +++ b/src/modules/Pipe/pipe.c @@ -22,7 +22,7 @@ #include <fcntl.h> #include "global.h" -RCSID("$Id: pipe.c,v 1.19 1998/04/03 21:35:34 grubba Exp $"); +RCSID("$Id: pipe.c,v 1.20 1998/04/06 20:40:04 hubbe Exp $"); #include "threads.h" #include "stralloc.h" @@ -339,7 +339,7 @@ static int read_some_data(void) if (!i || i->type != I_BLOCKING_OBJ) { fatal("PIPE: read_some_data(): Bad input type!\n"); - return; + return -1; } push_int(8192); push_int(1); /* We don't care if we don't get all 8192 bytes. */ -- GitLab