From 72f63eeff04020b992cf7d7235b066f4c6b3a824 Mon Sep 17 00:00:00 2001 From: Josh Oguin Date: Wed, 19 Nov 2014 14:34:40 -0600 Subject: libcsupport/src/newlibc_exit.c: Remove dead code This was flagged as an empty for statement by CodeSonar but is actually unreachable code that should be removed. --- cpukit/libcsupport/src/newlibc_exit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpukit/libcsupport/src/newlibc_exit.c b/cpukit/libcsupport/src/newlibc_exit.c index 74c547b256..fad7f7623a 100644 --- a/cpukit/libcsupport/src/newlibc_exit.c +++ b/cpukit/libcsupport/src/newlibc_exit.c @@ -45,7 +45,7 @@ void _exit(int status) (*rtems_libio_exit_helper)(); rtems_shutdown_executive(status); - for (;;) ; /* to avoid warnings */ + /* does not return */ } #endif -- cgit v1.2.3