From 1701319d59513b2b2f7fbf8cec254ce5eead17dc Mon Sep 17 00:00:00 2001 From: Pharap <2933055+Pharap@users.noreply.github.com> Date: Thu, 25 Mar 2021 03:23:44 +0000 Subject: [PATCH] Prevent unused parameter warning --- cores/arduino/syscalls_sam3.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cores/arduino/syscalls_sam3.c b/cores/arduino/syscalls_sam3.c index 6728c9e0..42c4ae1e 100644 --- a/cores/arduino/syscalls_sam3.c +++ b/cores/arduino/syscalls_sam3.c @@ -130,7 +130,7 @@ extern int _write( UNUSED(int file), char *ptr, int len ) return iIndex ; } -extern void _exit( int status ) +extern void _exit( UNUSED(int status) ) { // printf is probably not set up by Arduino, and shouldn't be used. // printf( "Exiting with status %d.\n", status ) ;