diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2000-07-06 19:09:27 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2000-07-06 19:09:27 +0000 |
commit | 3b4413c08f0e028f0095ec5b50f90e4169e6689b (patch) | |
tree | 23a0d5308d568e8f2daabfc6ee19377e8dcb032d /c/src/exec/score/src/objectallocatebyindex.c | |
parent | New file. Convert ID to pointer and return with interrupts -- not (diff) | |
download | rtems-3b4413c08f0e028f0095ec5b50f90e4169e6689b.tar.bz2 |
Directly index local table to avoid error check.
Diffstat (limited to 'c/src/exec/score/src/objectallocatebyindex.c')
-rw-r--r-- | c/src/exec/score/src/objectallocatebyindex.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/c/src/exec/score/src/objectallocatebyindex.c b/c/src/exec/score/src/objectallocatebyindex.c index d46399c535..6de641ae0c 100644 --- a/c/src/exec/score/src/objectallocatebyindex.c +++ b/c/src/exec/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; |