src/lib/pipeline.c 1.25
1.25 2010/05/12 20:04:40 markd
explictly ignore read status to keep certain version of GCC happy
Index: src/lib/pipeline.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/lib/pipeline.c,v
retrieving revision 1.24
retrieving revision 1.25
diff -b -B -U 4 -r1.24 -r1.25
--- src/lib/pipeline.c 26 Mar 2010 21:13:29 -0000 1.24
+++ src/lib/pipeline.c 12 May 2010 20:04:40 -0000 1.25
@@ -347,9 +347,9 @@
/* wait on exec to happen on this process */
{
// execPipeChild will get EOF when exec happens
char buf[1];
-read(proc->execPipeParent, buf, sizeof(buf));
+(void)read(proc->execPipeParent, buf, sizeof(buf));
safeClose(&proc->execPipeParent);
}
static void pipelineExec(struct pipeline* pl, int stdinFd, int stdoutFd, int stderrFd,