diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2010-08-28 19:48:41 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2010-08-28 19:48:41 +0000 |
commit | 28ff5942a589d565c3733e265bf93f3a25fbb89b (patch) | |
tree | bb6c7d77f4435d01792b94afa1e6014c222805ea /cpukit | |
parent | Abandon Fedora 11. (diff) | |
download | rtems-28ff5942a589d565c3733e265bf93f3a25fbb89b.tar.bz2 |
2010-08-28 Joel Sherrill <joel.sherrilL@OARcorp.com>
* libfs/src/pipe/pipe.c: Remove unreachable line flagged by Coverity as
dead code.
Diffstat (limited to 'cpukit')
-rw-r--r-- | cpukit/ChangeLog | 5 | ||||
-rw-r--r-- | cpukit/libfs/src/pipe/pipe.c | 1 |
2 files changed, 5 insertions, 1 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index b7260d6c06..bed41b7680 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,3 +1,8 @@ +2010-08-28 Joel Sherrill <joel.sherrilL@OARcorp.com> + + * libfs/src/pipe/pipe.c: Remove unreachable line flagged by Coverity as + dead code. + 2010-08-27 Joel Sherrill <joel.sherrill@oarcorp.com> * libcsupport/src/ctermid.c: Add comment explaining that this use of diff --git a/cpukit/libfs/src/pipe/pipe.c b/cpukit/libfs/src/pipe/pipe.c index ff98719e29..2d146b78d4 100644 --- a/cpukit/libfs/src/pipe/pipe.c +++ b/cpukit/libfs/src/pipe/pipe.c @@ -48,7 +48,6 @@ int pipe_create( } /* Just try once... */ return -1; - sprintf(fifopath + 10, "%04x", rtems_pipe_no ++); } /* Non-blocking open to avoid waiting for writers */ |