mirror of
https://github.com/esphome/esphome.git
synced 2026-09-14 08:38:39 +00:00
Add NOLINT for redundant-declaration from Arduino.h
Arduino.h on ESP8266 already declares void setup(void), so our forward declaration triggers readability-redundant-declaration. Co-Authored-By: J. Nick Koston <nick@koston.org>
This commit is contained in:
co-authored by
J. Nick Koston
parent
e468db0fce
commit
25ee5c9a28
@@ -109,8 +109,8 @@ class Socket;
|
||||
} // namespace esphome::socket
|
||||
|
||||
// Forward declarations for friend access from codegen-generated setup()
|
||||
void setup();
|
||||
void original_setup(); // Used by cpp unit tests which replace setup() with gtest runner
|
||||
void setup(); // NOLINT(readability-redundant-declaration) - may be declared in Arduino.h
|
||||
void original_setup(); // NOLINT(readability-redundant-declaration) - used by cpp unit tests
|
||||
|
||||
namespace esphome {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user