Skip to content

Commit

Permalink
Eliminate 'unused parameter is_static_root' gcc warning in os_dep.c
Browse files Browse the repository at this point in the history
(fix of commit c86312b)

* os_dep.c [!FILTER_PTRFREE_HBLKS_IN_SOFT_VDB && !CHECKSUMS
&& !DEBUG_DIRTY_BITS] (soft_set_grungy_pages): Specify is_static_root
as unused argument.
  • Loading branch information
ivmai committed Feb 4, 2024
1 parent 1dc5135 commit f7e513a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions os_dep.c
Original file line number Diff line number Diff line change
Expand Up @@ -4057,6 +4057,8 @@ GC_INLINE void GC_proc_read_dirty(GC_bool output_unneeded)
GC_log_printf("dirty page (hblk) at: %p\n", (void *)h);
# endif
}
# else
UNUSED_ARG(is_static_root);
# endif
set_pht_entry_from_index(GC_grungy_pages, index);
}
Expand Down

0 comments on commit f7e513a

Please sign in to comment.