[PATCH 4/7] posix: Fix warning
Sebastian Huber
sebastian.huber at embedded-brains.de
Fri Sep 5 07:33:54 UTC 2014
---
cpukit/posix/src/pthreadattrsetaffinitynp.c | 2 --
1 file changed, 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 )
--
1.8.4.5
More information about the devel
mailing list