forked from Imagelibrary/rtems
2000-09-20 Joel Sherrill <joel@OARcorp.com>
* src/objectgetbyindex.c: Do not enable dispatching on an error path it was not disabled on.
This commit is contained in:
@@ -67,7 +67,6 @@ Objects_Control *_Objects_Get_by_index(
|
|||||||
* With just an index, you can't access a remote object.
|
* With just an index, you can't access a remote object.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
_Thread_Enable_dispatch();
|
|
||||||
*location = OBJECTS_ERROR;
|
*location = OBJECTS_ERROR;
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user