From 6ba029548c747ae6a9195820dae759cd5119bd95 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 12 Oct 2017 12:56:06 -0500 Subject: 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 5ec03fdddc..0b307542cf 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; -- cgit v1.2.3