summaryrefslogtreecommitdiffstats
path: root/cpukit/itron/src/rel_wai.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/itron/src/rel_wai.c')
-rw-r--r--cpukit/itron/src/rel_wai.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/cpukit/itron/src/rel_wai.c b/cpukit/itron/src/rel_wai.c
index 1fb3cbbcd4..d845bcd310 100644
--- a/cpukit/itron/src/rel_wai.c
+++ b/cpukit/itron/src/rel_wai.c
@@ -31,16 +31,17 @@ ER rel_wai(
switch ( location ) {
case OBJECTS_REMOTE:
case OBJECTS_ERROR:
- _ITRON_return_errorno( _ITRON_Task_Clarify_get_id_error( tskid ) );
+ return _ITRON_Task_Clarify_get_id_error( tskid );
case OBJECTS_LOCAL:
/*
* XXX - FILL ME IN.
*/
- return E_OK;
+
+ break;
}
- return E_OBJ; /* XXX - Should never get here */
+ _ITRON_return_errorno( E_OK );
}