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,14 +52,15 @@ Objects_Information *_Objects_Get_information(
|
|||||||
return NULL;
|
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
|
* Thus we may have 0 local instances and still have a valid object
|
||||||
* pointer.
|
* pointer.
|
||||||
*/
|
*/
|
||||||
#if !defined(RTEMS_MULTIPROCESSING)
|
#if !defined(RTEMS_MULTIPROCESSING)
|
||||||
if ( _Objects_Get_maximum_index( info ) == 0 )
|
if ( _Objects_Get_maximum_index( info ) == 0 ) {
|
||||||
return NULL;
|
return NULL;
|
||||||
#endif
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
return info;
|
return info;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user