diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2021-01-28 11:17:51 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2021-02-01 06:22:20 +0100 |
commit | 395c15f6558d3d5738c1315fecfc82d79f4e17f1 (patch) | |
tree | af7acf4bcf731df2f43674a06080121a9fe804e1 /cpukit | |
parent | score: Add _Thread_Get_objects_information() (diff) | |
download | rtems-395c15f6558d3d5738c1315fecfc82d79f4e17f1.tar.bz2 |
score: Fix _Objects_Get_information() indentation
This fix relates to a Coverity issue (NESTING_INDENT_MISMATCH).
Diffstat (limited to 'cpukit')
-rw-r--r-- | cpukit/score/src/objectgetinfo.c | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/cpukit/score/src/objectgetinfo.c b/cpukit/score/src/objectgetinfo.c index 07b401faf0..a256d20d87 100644 --- a/cpukit/score/src/objectgetinfo.c +++ b/cpukit/score/src/objectgetinfo.c @@ -52,14 +52,15 @@ Objects_Information *_Objects_Get_information( return NULL; /* - * In a multprocessing configuration, we may access remote objects. - * Thus we may have 0 local instances and still have a valid object - * pointer. + * In a multiprocessing configuration, we may access remote objects. + * Thus we may have 0 local instances and still have a valid object + * pointer. */ - #if !defined(RTEMS_MULTIPROCESSING) - if ( _Objects_Get_maximum_index( info ) == 0 ) - return NULL; - #endif +#if !defined(RTEMS_MULTIPROCESSING) + if ( _Objects_Get_maximum_index( info ) == 0 ) { + return NULL; + } +#endif return info; } |