From 1a0ccc7a9d983f63bd181fa9054c41fe9da17ee9 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Sat, 12 Jun 2010 17:55:13 +0000 Subject: [PATCH] 2010-06-12 Joel Sherrill * libfs/src/pipe/fifo.c: Remove unused variable to fix warning. * libnetworking/rtems/mkrootfs.c: Add include to fix warning. * rtems/src/tasksetpriority.c: Fix spacing. --- cpukit/ChangeLog | 6 ++++++ cpukit/libfs/src/pipe/fifo.c | 2 -- cpukit/libnetworking/rtems/mkrootfs.c | 1 + cpukit/rtems/src/tasksetpriority.c | 2 +- 4 files changed, 8 insertions(+), 3 deletions(-) diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index 7405b4ab59..fe4e847e41 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,3 +1,9 @@ +2010-06-12 Joel Sherrill + + * libfs/src/pipe/fifo.c: Remove unused variable to fix warning. + * libnetworking/rtems/mkrootfs.c: Add include to fix warning. + * rtems/src/tasksetpriority.c: Fix spacing. + 2010-06-12 Ralf Corsépius * rtems/inline/rtems/rtems/status.inl: Fix broken doxygen comment. diff --git a/cpukit/libfs/src/pipe/fifo.c b/cpukit/libfs/src/pipe/fifo.c index 9bf362b7f0..c65000adb8 100644 --- a/cpukit/libfs/src/pipe/fifo.c +++ b/cpukit/libfs/src/pipe/fifo.c @@ -247,8 +247,6 @@ int pipe_release( pipe_control_t *pipe = *pipep; uint32_t mode; - rtems_status_code sc; - if (pipe_lock()) /* WARN pipe not freed and pipep not set to NULL! */ /* FIXME */ diff --git a/cpukit/libnetworking/rtems/mkrootfs.c b/cpukit/libnetworking/rtems/mkrootfs.c index 0bf6a6ac56..d5a230df33 100644 --- a/cpukit/libnetworking/rtems/mkrootfs.c +++ b/cpukit/libnetworking/rtems/mkrootfs.c @@ -41,6 +41,7 @@ #include #include +#include /* * A table a list of names and their modes. diff --git a/cpukit/rtems/src/tasksetpriority.c b/cpukit/rtems/src/tasksetpriority.c index 7499d176e0..4e85e56533 100644 --- a/cpukit/rtems/src/tasksetpriority.c +++ b/cpukit/rtems/src/tasksetpriority.c @@ -58,7 +58,7 @@ rtems_status_code rtems_task_set_priority( ) { register Thread_Control *the_thread; - Objects_Locations location; + Objects_Locations location; if ( new_priority != RTEMS_CURRENT_PRIORITY && !_RTEMS_tasks_Priority_is_valid( new_priority ) )