[PATCH rtems v1 06/10] moxie/include/rtems/score/cpuimpl.h: Address unused parameter warning

Joel Sherrill joel at rtems.org
Mon Aug 21 16:42:06 UTC 2023


---
 cpukit/score/cpu/moxie/include/rtems/score/cpuimpl.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/cpukit/score/cpu/moxie/include/rtems/score/cpuimpl.h b/cpukit/score/cpu/moxie/include/rtems/score/cpuimpl.h
index 8ded8c34e9..30c2c75f2b 100644
--- a/cpukit/score/cpu/moxie/include/rtems/score/cpuimpl.h
+++ b/cpukit/score/cpu/moxie/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 */
   }
-- 
2.31.1



More information about the devel mailing list