summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/src
diff options
context:
space:
mode:
authorJoel Sherrill <joel@rtems.org>2019-03-15 12:16:48 -0500
committerJoel Sherrill <joel@rtems.org>2019-03-25 16:27:43 -0500
commitdb23c3c43eb9e6c0515d5de54bbec866af291972 (patch)
tree8dfbc5fdc35fa30dc2a540fbc083e97616d91cdc /cpukit/posix/src
parentbuild: Always build libmghttpd.a (diff)
downloadrtems-db23c3c43eb9e6c0515d5de54bbec866af291972.tar.bz2
pthreadcreate.c: Silence unused variable warning (CID 1399716)
Diffstat (limited to 'cpukit/posix/src')
-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: