From b6958986d1fd1e020ae8794d91959c2e1030eacf Mon Sep 17 00:00:00 2001 From: Kristian Sloth Lauszus Date: Wed, 14 Jun 2017 13:28:05 +0200 Subject: [PATCH] Fixed unused-function warning See: https://github.com/esp8266/Arduino/pull/2881/files/d55efd3e144256afe043d251a0f6c778c5139f7c#diff-67390c99ad4faa2080719586ebf73b9e and https://travis-ci.org/felis/USB_Host_Shield_2.0/jobs/213822247#L1248 --- cores/esp8266/Schedule.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cores/esp8266/Schedule.cpp b/cores/esp8266/Schedule.cpp index 60d87e863..0f78f943e 100644 --- a/cores/esp8266/Schedule.cpp +++ b/cores/esp8266/Schedule.cpp @@ -14,9 +14,9 @@ static scheduled_fn_t* sLastUnused = 0; static int sCount = 0; +static void init_lists() __attribute__((unused)); static void init_lists() { - (void) init_lists; if (sCount != 0) { return; }