Skip to content

Commit a76d465

Browse files
Update posix.c
1 parent 491c247 commit a76d465

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎test/cfg/posix.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1526,9 +1526,9 @@ void pthread_cond_init_test(pthread_cond_t *cond, const pthread_condattr_t *attr
15261526
{
15271527
(void)pthread_cond_init(cond, NULL);
15281528
(void)pthread_cond_init(cond, attr);
1529-
pthread_cond_t *condu;
1529+
const pthread_condattr_t *uattr;
15301530
// cppcheck-suppress uninitvar
1531-
(void)pthread_cond_init(condu, attr);
1531+
(void)pthread_cond_init(cond, uattr);
15321532
}
15331533

15341534
void pthread_cond_destroy_test(const pthread_cond_t *cond)

0 commit comments

Comments
 (0)