summaryrefslogtreecommitdiffstats
path: root/cpukit/rtems/src/ratemonreportstatistics.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2010-11-16 17:48:06 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2010-11-16 17:48:06 +0000
commit5290c5aeb8e0e2987c88fccf8a6dba7e211ecdd8 (patch)
tree78f5f3aad00b35f84bbb8643618b70650b974c8b /cpukit/rtems/src/ratemonreportstatistics.c
parent2010-11-16 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-5290c5aeb8e0e2987c88fccf8a6dba7e211ecdd8.tar.bz2
2010-11-16 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/src/ratemonreportstatistics.c, rtems/src/ratemonresetall.c: Remove unchecked return status pointed out by clang.
Diffstat (limited to 'cpukit/rtems/src/ratemonreportstatistics.c')
-rw-r--r--cpukit/rtems/src/ratemonreportstatistics.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/cpukit/rtems/src/ratemonreportstatistics.c b/cpukit/rtems/src/ratemonreportstatistics.c
index 6f9c4d3f2f..fe65151d04 100644
--- a/cpukit/rtems/src/ratemonreportstatistics.c
+++ b/cpukit/rtems/src/ratemonreportstatistics.c
@@ -1,7 +1,7 @@
/*
* Rate Monotonic Manager -- Report Statistics for All Periods
*
- * COPYRIGHT (c) 1989-2009.
+ * COPYRIGHT (c) 1989-2010.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -103,10 +103,12 @@ ididididid NNNN ccccc mmmmmm X
continue;
/* If the above passed, so should this but check it anyway */
- status = rtems_rate_monotonic_get_status( id, &the_status );
#if defined(RTEMS_DEBUG)
+ status = rtems_rate_monotonic_get_status( id, &the_status );
if ( status != RTEMS_SUCCESSFUL )
continue;
+ #else
+ (void) rtems_rate_monotonic_get_status( id, &the_status );
#endif
rtems_object_get_name( the_status.owner, sizeof(name), name );