[rtems commit] posix: Fix warning

Sebastian Huber sebh at rtems.org
Mon Sep 8 06:46:32 UTC 2014


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

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Fri Sep  5 09:13:23 2014 +0200

posix: Fix warning

---

 cpukit/posix/src/pthreadattrsetaffinitynp.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/cpukit/posix/src/pthreadattrsetaffinitynp.c b/cpukit/posix/src/pthreadattrsetaffinitynp.c
index b880e5a..af9fd85 100644
--- a/cpukit/posix/src/pthreadattrsetaffinitynp.c
+++ b/cpukit/posix/src/pthreadattrsetaffinitynp.c
@@ -35,8 +35,6 @@ int pthread_attr_setaffinity_np(
   const cpu_set_t   *cpuset
 )
 {
-  int error;
-
   if ( !cpuset )
     return EFAULT;
   if ( !attr )



More information about the vc mailing list