diff --git a/Marlin/src/feature/power_loss_recovery.h b/Marlin/src/feature/power_loss_recovery.h
index fc4037726ba207deb53840c703ce87a4ba2ff9e3..45b057e752c1d3713864592f26022d15fe01be6a 100644
--- a/Marlin/src/feature/power_loss_recovery.h
+++ b/Marlin/src/feature/power_loss_recovery.h
@@ -128,7 +128,7 @@ class PrintJobRecovery {
#if ENABLED(DEBUG_POWER_LOSS_RECOVERY)
static void debug(PGM_P const prefix);
#else
- static inline void debug(PGM_P const prefix) {}
+ static inline void debug(PGM_P const prefix) { UNUSED(prefix); }
#endif
private: