summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2019-06-20 03:52:28 +0200
committerBruno Haible <bruno@clisp.org>2019-06-20 03:52:28 +0200
commita06d50500ce0a3aa39e3cf1a6b4bf0ed3c1d7c88 (patch)
tree2e6330e1242fe134fdc66322647d811700663e67
parente8d62a2ae99c44c54c09efd28e39a0e562835125 (diff)
downloadgnulib-a06d50500ce0a3aa39e3cf1a6b4bf0ed3c1d7c88.tar.gz
gnulib-a06d50500ce0a3aa39e3cf1a6b4bf0ed3c1d7c88.tar.bz2
cond tests: Simplify.
* tests/test-cond.c (test_timedcond): Remove redundant assignment.
-rw-r--r--ChangeLog5
-rw-r--r--tests/test-cond.c2
2 files changed, 5 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index bd31e14af0..9472275f44 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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 ();

Return to:

Send suggestions and report system problems to the System administrator.