summaryrefslogtreecommitdiffstats
path: root/libpthread/linuxthreads.old/manager.c
diff options
context:
space:
mode:
authorRon <ron@debian.org>2009-06-27 04:44:25 +0930
committerAustin Foxley <austinf@cetoncorp.com>2009-07-09 01:35:56 -0700
commit5e8589056d930ec9d80d60db1e05edee1eb01bde (patch)
treec70a6ed2cf23db92f645385b5a04491cd3984f02 /libpthread/linuxthreads.old/manager.c
parent41167151599307ea9574a5342e7e030779424e25 (diff)
downloaduClibc-alpine-5e8589056d930ec9d80d60db1e05edee1eb01bde.tar.bz2
uClibc-alpine-5e8589056d930ec9d80d60db1e05edee1eb01bde.tar.xz
Don't shadow the mask parameter with a local variable in the same function
Signed-off-by: Ron Lee <ron@debian.org> Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Diffstat (limited to 'libpthread/linuxthreads.old/manager.c')
-rw-r--r--libpthread/linuxthreads.old/manager.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libpthread/linuxthreads.old/manager.c b/libpthread/linuxthreads.old/manager.c
index 0617d7dd9..88c92533e 100644
--- a/libpthread/linuxthreads.old/manager.c
+++ b/libpthread/linuxthreads.old/manager.c
@@ -578,9 +578,9 @@ static int pthread_handle_create(pthread_t *thread, const pthread_attr_t *attr,
/* See whether the TD_CREATE event bit is set in any of the
masks. */
int idx = __td_eventword (TD_CREATE);
- uint32_t mask = __td_eventmask (TD_CREATE);
+ uint32_t m = __td_eventmask (TD_CREATE);
- if ((mask & (__pthread_threads_events.event_bits[idx]
+ if ((m & (__pthread_threads_events.event_bits[idx]
| event_maskp->event_bits[idx])) != 0)
{
/* Lock the mutex the child will use now so that it will stop. */