diff options
author | Mike Frysinger <vapier@gentoo.org> | 2012-04-24 01:30:31 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2012-04-24 01:39:15 -0400 |
commit | 22eb98f555772716259538a4613643f0ac4160c1 (patch) | |
tree | f28459570ee37e3e1b9cc1b6d2f9c5d5b28eff2d /libc/sysdeps/linux/common/flock.c | |
parent | 9c8c3a7914579e4a96f0fba4f5882f59dd864d1a (diff) |
linuxthreads.old: fix set-but-unused warning
Move spin_count down to the code block where it's used to fix the warning:
libpthread/linuxthreads.old/spinlock.c: In function '__pthread_lock':
libpthread/linuxthreads.old/spinlock.c:70:7: warning:
variable 'spin_count' set but not used [-Wunused-but-set-variable]
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'libc/sysdeps/linux/common/flock.c')
0 files changed, 0 insertions, 0 deletions