forked from Imagelibrary/rtems
2011-10-18 Ralf Corsépius <ralf.corsepius@rtems.org>
* libfs/src/pipe/fifo.c: Conditionally use var "sc".
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
2011-10-18 Ralf Corsépius <ralf.corsepius@rtems.org>
|
2011-10-18 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||||
|
|
||||||
|
* libfs/src/pipe/fifo.c: Conditionally use var "sc".
|
||||||
* libmisc/shell/fts.c: Conditionally use var "nostat".
|
* libmisc/shell/fts.c: Conditionally use var "nostat".
|
||||||
* pppd/options.c: Remove unused var "ok".
|
* pppd/options.c: Remove unused var "ok".
|
||||||
* libnetworking/rtems/rtems_dhcp.c: Remove unused var
|
* libnetworking/rtems/rtems_dhcp.c: Remove unused var
|
||||||
|
|||||||
@@ -187,9 +187,12 @@ static int pipe_lock(void)
|
|||||||
|
|
||||||
static void pipe_unlock(void)
|
static void pipe_unlock(void)
|
||||||
{
|
{
|
||||||
|
#ifdef RTEMS_DEBUG
|
||||||
rtems_status_code sc = RTEMS_SUCCESSFUL;
|
rtems_status_code sc = RTEMS_SUCCESSFUL;
|
||||||
|
|
||||||
sc = rtems_semaphore_release(pipe_semaphore);
|
sc =
|
||||||
|
#endif
|
||||||
|
rtems_semaphore_release(pipe_semaphore);
|
||||||
#ifdef RTEMS_DEBUG
|
#ifdef RTEMS_DEBUG
|
||||||
if (sc != RTEMS_SUCCESSFUL) {
|
if (sc != RTEMS_SUCCESSFUL) {
|
||||||
rtems_fatal_error_occurred(0xdeadbeef);
|
rtems_fatal_error_occurred(0xdeadbeef);
|
||||||
|
|||||||
Reference in New Issue
Block a user