mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-05 15:15:44 +00:00
score: Fix _Objects_Get_information() indentation
This fix relates to a Coverity issue (NESTING_INDENT_MISMATCH).
This commit is contained in:
@@ -52,13 +52,14 @@ Objects_Information *_Objects_Get_information(
|
||||
return NULL;
|
||||
|
||||
/*
|
||||
* In a multprocessing configuration, we may access remote objects.
|
||||
* 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 )
|
||||
if ( _Objects_Get_maximum_index( info ) == 0 ) {
|
||||
return NULL;
|
||||
}
|
||||
#endif
|
||||
|
||||
return info;
|
||||
|
||||
Reference in New Issue
Block a user