From e8d9b26f43b87c0a128109e0c0e1ac3d0e3a1278 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Tue, 22 Mar 2016 07:24:14 +0100 Subject: score: Add and use RTEMS_UNREACHABLE --- cpukit/score/src/threadrestart.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'cpukit/score/src/threadrestart.c') diff --git a/cpukit/score/src/threadrestart.c b/cpukit/score/src/threadrestart.c index 155acaa8d1..59754a86fb 100644 --- a/cpukit/score/src/threadrestart.c +++ b/cpukit/score/src/threadrestart.c @@ -237,8 +237,7 @@ void _Thread_Life_action_handler( } _Thread_Enable_dispatch(); - - _Assert_Not_reached(); + RTEMS_UNREACHABLE(); } else { _Assert( _Thread_Is_life_restarting( previous_life_state ) ); @@ -258,8 +257,7 @@ void _Thread_Life_action_handler( _Thread_Load_environment( executing ); _Thread_Restart_self( executing ); - - _Assert_Not_reached(); + RTEMS_UNREACHABLE(); } } } -- cgit v1.2.3