score: Fix _Objects_Get_information() indentation

This fix relates to a Coverity issue (NESTING_INDENT_MISMATCH).
This commit is contained in:
Sebastian Huber
2021-02-01 06:22:20 +01:00
parent bf8d4b9479
commit 395c15f655
+8 -7
View File
@@ -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;
}