[PATCH 1/3] score: Fix _Objects_Get_information() indentation
Sebastian Huber
sebastian.huber at embedded-brains.de
Thu Jan 28 10:31:01 UTC 2021
This fix relates to a Coverity issue (NESTING_INDENT_MISMATCH).
---
cpukit/score/src/objectgetinfo.c | 15 ++++++++-------
1 file 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;
}
--
2.26.2
More information about the devel
mailing list