>From a06d50500ce0a3aa39e3cf1a6b4bf0ed3c1d7c88 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Thu, 20 Jun 2019 03:52:28 +0200 Subject: [PATCH 02/26] cond tests: Simplify. * tests/test-cond.c (test_timedcond): Remove redundant assignment. --- ChangeLog | 5 +++++ tests/test-cond.c | 2 -- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index bd31e14..9472275 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2019-06-20 Bruno Haible + cond tests: Simplify. + * tests/test-cond.c (test_timedcond): Remove redundant assignment. + +2019-06-20 Bruno Haible + 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 a4c2adc..1de6783 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 (); -- 2.7.4