[rtems commit] spthreadq01/init.c: Fix unused variable warnings

Joel Sherrill joel at rtems.org
Thu Oct 12 17:56:36 UTC 2017


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

Author:    Joel Sherrill <joel at rtems.org>
Date:      Thu Oct 12 12:56:06 2017 -0500

spthreadq01/init.c: Fix unused variable warnings

---

 testsuites/sptests/spthreadq01/init.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/testsuites/sptests/spthreadq01/init.c b/testsuites/sptests/spthreadq01/init.c
index 5ec03fd..0b30754 100644
--- a/testsuites/sptests/spthreadq01/init.c
+++ b/testsuites/sptests/spthreadq01/init.c
@@ -113,7 +113,6 @@ static void posix_worker(test_context *ctx)
 {
 #if defined(RTEMS_POSIX_API)
   int rv;
-  int eno;
   char buf[1];
 
   wake_up_master(ctx);
@@ -178,7 +177,6 @@ static void test_classic_init(test_context *ctx)
 static void test_posix_init(test_context *ctx)
 {
 #if defined(RTEMS_POSIX_API)
-  int eno;
   struct mq_attr attr;
 
   memset(&attr, 0, sizeof(attr));
@@ -254,7 +252,6 @@ static void test_classic_obj(test_context *ctx)
 static void test_posix_obj(test_context *ctx)
 {
 #if defined(RTEMS_POSIX_API)
-  int eno;
   char buf[1];
   unsigned prio;
   ssize_t n;




More information about the vc mailing list