Override unused-variables (and other) errors

I’d like to disable the -Werror=unused-variables flag while I am debugging something. I tried to set

build_flags = -w

in platformio.ini but that has no effect.

How about Redirecting... ?

1 Like

Sorry, I was very much in a rush at the time and didn’t reply. I think that did work for me in the end.