[rtems commit] privateenv.c: Remove unused variable warning

Joel Sherrill joel at rtems.org
Fri Apr 4 14:16:55 UTC 2014


Module:    rtems
Branch:    master
Commit:    eb2c8133aaa4b921b2a4d4d7f4cf6d2b2c0445aa
Changeset: http://git.rtems.org/rtems/commit/?id=eb2c8133aaa4b921b2a4d4d7f4cf6d2b2c0445aa

Author:    Joel Sherrill <joel.sherrill at oarcorp.com>
Date:      Fri Apr  4 09:24:17 2014 -0500

privateenv.c: Remove unused variable warning

---

 cpukit/libcsupport/src/privateenv.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/cpukit/libcsupport/src/privateenv.c b/cpukit/libcsupport/src/privateenv.c
index 60207b0..5717745 100644
--- a/cpukit/libcsupport/src/privateenv.c
+++ b/cpukit/libcsupport/src/privateenv.c
@@ -104,7 +104,6 @@ rtems_status_code rtems_libio_set_private_env(void)
 
 void rtems_libio_use_global_env(void)
 {
-  rtems_status_code sc = RTEMS_SUCCESSFUL;
   rtems_user_env_t *env = rtems_current_user_env;
   bool uses_private_env = env != &rtems_global_user_env;
 




More information about the vc mailing list