summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cpukit/posix/src/pthreadcreate.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cpukit/posix/src/pthreadcreate.c b/cpukit/posix/src/pthreadcreate.c
index b70be00217..211b2cf1a1 100644
--- a/cpukit/posix/src/pthreadcreate.c
+++ b/cpukit/posix/src/pthreadcreate.c
@@ -137,6 +137,7 @@ int pthread_create(
&schedparam
);
_Assert( error == 0 );
+ (void) error; /* error only used when debug enabled */
break;
case PTHREAD_EXPLICIT_SCHED: