]> Savannah Git Hosting - gnulib.git/commitdiff
cond tests: Simplify.
authorBruno Haible <bruno@clisp.org>
Thu, 20 Jun 2019 01:52:28 +0000 (03:52 +0200)
committerBruno Haible <bruno@clisp.org>
Thu, 20 Jun 2019 01:52:28 +0000 (03:52 +0200)
* tests/test-cond.c (test_timedcond): Remove redundant assignment.

ChangeLog
tests/test-cond.c

index bd31e14af0a21150c74cc597423608b5f06f0bbe..9472275f44dae8c4eb4e1f1c10ee97f626f2b3f9 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+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.
index a4c2adc036bbe9989cd3cec90e6f35633ada2f9d..1de678318481ae7223fb9abaf0d1d434a4bc14d5 100644 (file)
@@ -151,8 +151,6 @@ test_timedcond (void)
   cond_value = cond_timeout = 0;
 
   thread = gl_thread_create (timedcond_routine, NULL);
-
-  remain = 2;
   do
     {
       yield ();