cpukit i386: Address unused parameter warnings

Add "(void) param;" annotation to address unused parameter warnings.
Found with GCC's warning -Wunused-parameter.
This commit is contained in:
Joel Sherrill
2025-10-10 16:15:44 -05:00
committed by Gedare Bloom
parent 0c97eb1d48
commit a4319861c0
2 changed files with 15 additions and 0 deletions

View File

@@ -506,6 +506,11 @@ rtems_debugger_target_hwbreak_control(rtems_debugger_target_watchpoint wp,
uintptr_t addr,
DB_UINT kind)
{
(void) wp;
(void) insert;
(void) addr;
(void) kind;
/*
* To do.
*/
@@ -515,6 +520,8 @@ rtems_debugger_target_hwbreak_control(rtems_debugger_target_watchpoint wp,
int
rtems_debugger_target_cache_sync(rtems_debugger_target_swbreak* swbreak)
{
(void) swbreak;
/*
* Nothing to do on an i386.
*/

View File

@@ -23,6 +23,9 @@ uint32_t
rtems_rtl_elf_section_flags (const rtems_rtl_obj* obj,
const Elf_Shdr* shdr)
{
(void) obj;
(void) shdr;
return 0;
}
@@ -61,6 +64,8 @@ rtems_rtl_elf_arch_section_free (const rtems_rtl_obj* obj,
bool
rtems_rtl_elf_rel_resolve_sym (Elf_Word type)
{
(void) type;
return true;
}
@@ -140,6 +145,9 @@ rtems_rtl_elf_relocate_rel (rtems_rtl_obj* obj,
const Elf_Byte syminfo,
const Elf_Word symvalue)
{
(void) symname;
(void) syminfo;
Elf_Addr target = 0;
Elf_Addr* where;
Elf_Addr tmp;