HomeFreeBSD

libc/tests/stdlib/dynthr_mod/dynthr_mod.c: mark dummy as used

Description

libc/tests/stdlib/dynthr_mod/dynthr_mod.c: mark dummy as used

It receives the malloc() result, and we do not want the malloc() call
to be optimized out, which is allowed for hosted compiler. Use dummy
for actual write though.

Sponsored by: The FreeBSD Foundation
MFC after: 1 week

Details

Provenance
kibAuthored on Nov 28 2021, 3:25 AM
Parents
rGe8b6309c70f0: netbsd h_raw.c test: fake use of sum to avoid warning
Branches
Unknown
Tags
Unknown