summaryrefslogtreecommitdiffstats
path: root/c/src/exec/itron/src/task.c
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/exec/itron/src/task.c')
-rw-r--r--c/src/exec/itron/src/task.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/c/src/exec/itron/src/task.c b/c/src/exec/itron/src/task.c
index f646b29d49..c4e785a4bb 100644
--- a/c/src/exec/itron/src/task.c
+++ b/c/src/exec/itron/src/task.c
@@ -117,10 +117,8 @@ ER _ITRON_Delete_task(
Objects_Information *the_information;
the_information = _Objects_Get_information( the_thread->Object.id );
-
if ( !the_information ) {
- return -1; /* XXX */
- /* This should never happen if _Thread_Get() works right */
+ return E_OBJ; /* XXX - should never happen */
}
_Thread_Close( the_information, the_thread );