projects
/
urcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix: shadowed local variable (-Wshadow)
[urcu.git]
/
tests
/
benchmark
/
test_urcu_hash.c
diff --git
a/tests/benchmark/test_urcu_hash.c
b/tests/benchmark/test_urcu_hash.c
index 896fb32be4393c62785cc98107a1e0bb89d45bee..8c97bd92aeb49039287bc142397c3160524a3e45 100644
(file)
--- a/
tests/benchmark/test_urcu_hash.c
+++ b/
tests/benchmark/test_urcu_hash.c
@@
-695,11
+695,11
@@
end_pthread_join:
}
{
char msg[1] = { 0x42 };
}
{
char msg[1] = { 0x42 };
- ssize_t ret;
+ ssize_t
s
ret;
do {
do {
-
ret = write(count_pipe[1], msg, 1);
/* wakeup thread */
- } while (ret == -1L && errno == EINTR);
+
sret = write(count_pipe[1], msg, 1);
/* wakeup thread */
+ } while (
s
ret == -1L && errno == EINTR);
}
err = pthread_join(tid_count, &tret);
if (err != 0) {
}
err = pthread_join(tid_count, &tret);
if (err != 0) {
This page took
0.036946 seconds
and
4
git commands to generate.