diff options
author | Bruno Haible <bruno@clisp.org> | 2019-06-20 03:52:28 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2019-06-20 03:52:28 +0200 |
commit | a06d50500ce0a3aa39e3cf1a6b4bf0ed3c1d7c88 (patch) | |
tree | 2e6330e1242fe134fdc66322647d811700663e67 | |
parent | e8d62a2ae99c44c54c09efd28e39a0e562835125 (diff) | |
download | gnulib-a06d50500ce0a3aa39e3cf1a6b4bf0ed3c1d7c88.tar.gz gnulib-a06d50500ce0a3aa39e3cf1a6b4bf0ed3c1d7c88.tar.bz2 |
cond tests: Simplify.
* tests/test-cond.c (test_timedcond): Remove redundant assignment.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | tests/test-cond.c | 2 |
2 files changed, 5 insertions, 2 deletions
@@ -1,5 +1,10 @@ 2019-06-20 Bruno Haible <bruno@clisp.org> + cond tests: Simplify. + * tests/test-cond.c (test_timedcond): Remove redundant assignment. + +2019-06-20 Bruno Haible <bruno@clisp.org> + lock tests: Avoid reference to undefined variable if !ENABLE_LOCKING. * tests/test-lock.c (test_once): Don't reference fire_signal if !ENABLE_LOCKING. diff --git a/tests/test-cond.c b/tests/test-cond.c index a4c2adc036..1de6783184 100644 --- a/tests/test-cond.c +++ b/tests/test-cond.c @@ -151,8 +151,6 @@ test_timedcond (void) cond_value = cond_timeout = 0; thread = gl_thread_create (timedcond_routine, NULL); - - remain = 2; do { yield (); |