Skip to content

Commit 88a5bba

Browse files
committed
sanitizer_common: fix freebsd build error
Variable flags is not used. Remove it. Suggested-by: randall77 (Keith Randall) Review: https://reviews.llvm.org/D67928 llvm-svn: 372698
1 parent 8126340 commit 88a5bba

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

compiler-rt/lib/sanitizer_common/sanitizer_posix_libcdep.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,6 @@ bool MmapFixedNoReserve(uptr fixed_addr, uptr size, const char *name) {
328328

329329
bool MmapFixedSuperNoReserve(uptr fixed_addr, uptr size, const char *name) {
330330
#if SANITIZER_FREEBSD
331-
int flags = 0;
332331
if (common_flags()->no_huge_pages_for_shadow)
333332
return MmapFixedNoReserve(fixed_addr, size, name);
334333
// MAP_NORESERVE is implicit with FreeBSD

0 commit comments

Comments
 (0)