[rtems commit] mips/include/rtems/score/cpuimpl.h: Address unused parameter warning
Joel Sherrill
joel at rtems.org
Tue Aug 22 16:50:54 UTC 2023
Module: rtems
Branch: master
Commit: c4926fbb588315e0c4b29691a0df0c9a75d0e4ea
Changeset: http://git.rtems.org/rtems/commit/?id=c4926fbb588315e0c4b29691a0df0c9a75d0e4ea
Author: Joel Sherrill <joel at rtems.org>
Date: Mon Aug 21 11:40:20 2023 -0500
mips/include/rtems/score/cpuimpl.h: Address unused parameter warning
---
cpukit/score/cpu/mips/include/rtems/score/cpuimpl.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/cpukit/score/cpu/mips/include/rtems/score/cpuimpl.h b/cpukit/score/cpu/mips/include/rtems/score/cpuimpl.h
index ad6b7ae615..d619eb6213 100644
--- a/cpukit/score/cpu/mips/include/rtems/score/cpuimpl.h
+++ b/cpukit/score/cpu/mips/include/rtems/score/cpuimpl.h
@@ -60,11 +60,15 @@ RTEMS_NO_RETURN void _CPU_Fatal_halt( uint32_t source, CPU_Uint32ptr error );
static inline void _CPU_Context_volatile_clobber( uintptr_t pattern )
{
+ (void) pattern;
+
/* TODO */
}
static inline void _CPU_Context_validate( uintptr_t pattern )
{
+ (void) pattern;
+
while (1) {
/* TODO */
}
More information about the vc
mailing list