aboutsummaryrefslogtreecommitdiff
path: root/cores/arduino
diff options
context:
space:
mode:
authorCristian Maglie <c.maglie@arduino.cc>2015-05-29 20:47:56 +0200
committerCristian Maglie <c.maglie@arduino.cc>2015-05-30 15:19:44 +0200
commit6c763b7df31fcae5e1b614a5c7f04c4046616401 (patch)
tree9558fb78112d17c2d04b9ae5295402f4fc178263 /cores/arduino
parent64dd45c3cec194b878acee31c35a61a8a4465305 (diff)
Fixed unused argument warning
Diffstat (limited to 'cores/arduino')
-rw-r--r--cores/arduino/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cores/arduino/main.cpp b/cores/arduino/main.cpp
index a60980d..72074de 100644
--- a/cores/arduino/main.cpp
+++ b/cores/arduino/main.cpp
@@ -19,8 +19,8 @@
#include <Arduino.h>
-//Declared weak in Arduino.h to allow user redefinitions.
-int atexit(void (*func)()) { return 0; }
+// Declared weak in Arduino.h to allow user redefinitions.
+int atexit(void (* /*func*/ )()) { return 0; }
// Weak empty variant initialization function.
// May be redefined by variant files.