summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport/src/newlibc_exit.c
diff options
context:
space:
mode:
authorJosh Oguin <josh.oguin@oarcorp.com>2014-11-19 14:34:40 -0600
committerJoel Sherrill <joel.sherrill@oarcorp.com>2014-11-26 07:51:58 -0600
commit72f63eeff04020b992cf7d7235b066f4c6b3a824 (patch)
treecc811c56f242162eb04404315019adf84c8c714c /cpukit/libcsupport/src/newlibc_exit.c
parentlibcsupport/src/mount.c: Remove unnecessary operation (diff)
downloadrtems-72f63eeff04020b992cf7d7235b066f4c6b3a824.tar.bz2
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.
Diffstat (limited to 'cpukit/libcsupport/src/newlibc_exit.c')
-rw-r--r--cpukit/libcsupport/src/newlibc_exit.c2
1 files changed, 1 insertions, 1 deletions
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