<div dir="auto">This looks ok to me.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jan 3, 2020, 12:51 PM Gedare Bloom <<a href="mailto:gedare@rtems.org">gedare@rtems.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Dead code identified by Coverity (CID 1456678). The value of ret<br>
at line 293 is always 0.<br>
---<br>
cpukit/libfs/src/pipe/fifo.c | 2 --<br>
1 file changed, 2 deletions(-)<br>
<br>
diff --git a/cpukit/libfs/src/pipe/fifo.c b/cpukit/libfs/src/pipe/fifo.c<br>
index b64c0d95b6..579f118bfd 100644<br>
--- a/cpukit/libfs/src/pipe/fifo.c<br>
+++ b/cpukit/libfs/src/pipe/fifo.c<br>
@@ -290,8 +290,6 @@ ssize_t pipe_read(<br>
pipe->waitingReaders ++;<br>
PIPE_READWAIT(pipe);<br>
pipe->waitingReaders --;<br>
- if (ret != 0)<br>
- goto out_locked;<br>
}<br>
<br>
/* Read chunk bytes */<br>
-- <br>
2.17.1<br>
<br>
_______________________________________________<br>
devel mailing list<br>
<a href="mailto:devel@rtems.org" target="_blank" rel="noreferrer">devel@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/devel" rel="noreferrer noreferrer" target="_blank">http://lists.rtems.org/mailman/listinfo/devel</a><br>
</blockquote></div>