diff options
Diffstat (limited to 'cpukit/posix/src/cleanuppush.c')
-rw-r--r-- | cpukit/posix/src/cleanuppush.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cpukit/posix/src/cleanuppush.c b/cpukit/posix/src/cleanuppush.c index 80193749e6..6efc7f9c45 100644 --- a/cpukit/posix/src/cleanuppush.c +++ b/cpukit/posix/src/cleanuppush.c @@ -31,16 +31,16 @@ void pthread_cleanup_push( POSIX_Cancel_Handler_control *handler; Chain_Control *handler_stack; POSIX_API_Control *thread_support; - + if ( !routine ) - return; /* XXX what to do really? */ + return; /* XXX what to do really? */ _Thread_Disable_dispatch(); handler = _Workspace_Allocate( sizeof( POSIX_Cancel_Handler_control ) ); if ( !handler ) { _Thread_Enable_dispatch(); - return; /* XXX what to do really? */ + return; /* XXX what to do really? */ } thread_support = _Thread_Executing->API_Extensions[ THREAD_API_POSIX ]; |