projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'improvement/fix-warnings-if-NDEBUG-enabled' of https://github.com/dpron...
[fio.git]
/
t
/
read-to-pipe-async.c
diff --git
a/t/read-to-pipe-async.c
b/t/read-to-pipe-async.c
index 76c64ab9c4e9221faffa3eab445ba9c596a1f5c1..de98d03228f3e3f52134bfda535152512d6a0f94 100644
(file)
--- a/
t/read-to-pipe-async.c
+++ b/
t/read-to-pipe-async.c
@@
-263,10
+263,8
@@
static void *writer_fn(void *data)
while (!(seq < 0) && (!wt->thread.exit || !flist_empty(&wt->list))) {
pthread_mutex_lock(&wt->thread.lock);
- if (work)
{
+ if (work)
flist_add_tail(&work->list, &wt->done_list);
- work = NULL;
- }
work = find_seq(wt, seq);
if (work)