diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | nptl/tst-eintr1.c | 5 |
2 files changed, 7 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog index adc58e4a14..2e54659370 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2019-06-26 Stefan Liebler <stli@linux.ibm.com> + * nptl/tst-eintr1.c (tf1): Add return statement. + (do_test): Remove unused th variable. + +2019-06-26 Stefan Liebler <stli@linux.ibm.com> + * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Return error if get_character fails. diff --git a/nptl/tst-eintr1.c b/nptl/tst-eintr1.c index b60b796d61..11404ff7ff 100644 --- a/nptl/tst-eintr1.c +++ b/nptl/tst-eintr1.c @@ -43,6 +43,7 @@ tf1 (void *arg) pthread_t th = xpthread_create (NULL, tf2, NULL); xpthread_join (th); } + return NULL; } @@ -53,9 +54,7 @@ do_test (void) int i; for (i = 0; i < 10; ++i) - { - pthread_t th = xpthread_create (NULL, tf1, NULL); - } + xpthread_create (NULL, tf1, NULL); delayed_exit (3); /* This call must never return. */ |