mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-15 08:30:02 +00:00
reduce warnings when debug is turned off
This commit is contained in:
parent
3cf79dbbd4
commit
ec9a2be9cc
1 changed files with 1 additions and 0 deletions
|
|
@ -366,6 +366,7 @@ impl MemoryManager {
|
|||
pub fn rpt_base(&self) -> usize { unsafe { MEMORY_ALLOCATIONS.as_ptr() as usize } }
|
||||
|
||||
#[cfg(feature = "debug-swap")]
|
||||
#[allow(dead_code)]
|
||||
/// This function is "improper" in that it returns a bogus value if the memory allocations are
|
||||
/// out of range, but its purpose is only for debugging. This is not suitable for use in any
|
||||
/// other context.
|
||||
|
|
|
|||
Loading…
Reference in a new issue