Skip to content

Commit 996c3bf

Browse files
Clean up unused parameter warnings (earlephilhower#2624)
1 parent 322a1af commit 996c3bf

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cores/rp2040/malloc-lock.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,13 @@ extern "C" void *pcalloc(size_t count, size_t size) {
7676
#else
7777
// No PSRAM, always fail
7878
extern "C" void *pmalloc(size_t size) {
79+
(void) size;
7980
return nullptr;
8081
}
8182

8283
extern "C" void *pcalloc(size_t count, size_t size) {
84+
(void) count;
85+
(void) size;
8386
return nullptr;
8487
}
8588
#endif

0 commit comments

Comments
 (0)