From 3be8da5ff606cb4c0ebf08e4c978bda485650f5a Mon Sep 17 00:00:00 2001 From: Kristian Sloth Lauszus Date: Tue, 23 Mar 2021 13:34:15 +0100 Subject: [PATCH] Ignore 'unused-variable' warnings as well --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e5ad35cb..7cb4f6b1 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -42,7 +42,7 @@ jobs: pio ci --lib="." --board=due --project-option="build_flags=-Wno-misleading-indentation" # Ignore warnings in the Arduino core - pio ci --lib="." --board=adafruit_feather_nrf52840 --project-option="build_flags=-Wno-sign-compare -Wno-unused-function" + pio ci --lib="." --board=adafruit_feather_nrf52840 --project-option="build_flags=-Wno-sign-compare -Wno-unused-function -Wno-unused-variable" env: PLATFORMIO_CI_SRC: ${{ matrix.example }} PLATFORMIO_BUILD_FLAGS: -DWIICAMERA -DDEBUG_USB_HOST -Wall -Werror