From 6c763b7df31fcae5e1b614a5c7f04c4046616401 Mon Sep 17 00:00:00 2001 From: Cristian Maglie Date: Fri, 29 May 2015 20:47:56 +0200 Subject: [PATCH] Fixed unused argument warning --- cores/arduino/main.cpp | 4 ++-- 1 file 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 -//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.