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. --- c/src/exec/score/src/objectgetbyindex.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'c/src/exec/score/src/objectgetbyindex.c') diff --git a/c/src/exec/score/src/objectgetbyindex.c b/c/src/exec/score/src/objectgetbyindex.c index 6cfc2b98cd..7c7c89c2af 100644 --- a/c/src/exec/score/src/objectgetbyindex.c +++ b/c/src/exec/score/src/objectgetbyindex.c @@ -54,7 +54,8 @@ Objects_Control *_Objects_Get_by_index( if ( information->maximum >= index ) { _Thread_Disable_dispatch(); - if ( (the_object = _Objects_Get_local_object( information, index )) != NULL ) { + the_object = information->local_table[ index ]; + if ( the_object ) { *location = OBJECTS_LOCAL; return( the_object ); } -- cgit v1.2.3