From 3b4413c08f0e028f0095ec5b50f90e4169e6689b Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 6 Jul 2000 19:09:27 +0000 Subject: Directly index local table to avoid error check. --- cpukit/score/src/objectallocatebyindex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpukit/score/src/objectallocatebyindex.c') diff --git a/cpukit/score/src/objectallocatebyindex.c b/cpukit/score/src/objectallocatebyindex.c index d46399c535..6de641ae0c 100644 --- a/cpukit/score/src/objectallocatebyindex.c +++ b/cpukit/score/src/objectallocatebyindex.c @@ -44,7 +44,7 @@ Objects_Control *_Objects_Allocate_by_index( Objects_Control *the_object; if ( index && information->maximum >= index ) { - the_object = _Objects_Get_local_object( information, index ); + the_object = information->local_table[ index ]; if ( the_object ) return NULL; -- cgit v1.2.3