git: c20c7a312262 - stable/13 - libc/tests/stdlib/dynthr_mod/dynthr_mod.c: mark dummy as used
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 06 Dec 2021 00:28:08 UTC
The branch stable/13 has been updated by kib:
URL: https://cgit.FreeBSD.org/src/commit/?id=c20c7a312262b484699b72a7b407bd58981c4d6d
commit c20c7a312262b484699b72a7b407bd58981c4d6d
Author: Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2021-11-28 03:25:28 +0000
Commit: Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2021-12-06 00:23:45 +0000
libc/tests/stdlib/dynthr_mod/dynthr_mod.c: mark dummy as used
(cherry picked from commit a64a3b798825bc176ae052fc3ead88566b60ba7d)
---
lib/libc/tests/stdlib/dynthr_mod/dynthr_mod.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/libc/tests/stdlib/dynthr_mod/dynthr_mod.c b/lib/libc/tests/stdlib/dynthr_mod/dynthr_mod.c
index 4f5622f47a81..c19a1a54a8b6 100644
--- a/lib/libc/tests/stdlib/dynthr_mod/dynthr_mod.c
+++ b/lib/libc/tests/stdlib/dynthr_mod/dynthr_mod.c
@@ -51,6 +51,7 @@ mod_thread(void *ptr __unused)
char *volatile dummy;
dummy = malloc(500);
+ *dummy = 'a';
return (NULL);
}