mirror of
https://github.com/esphome/esphome.git
synced 2025-10-30 14:43:51 +00:00
Update nolint
This commit is contained in:
@@ -4,8 +4,7 @@ namespace esphome {
|
|||||||
namespace ota {
|
namespace ota {
|
||||||
|
|
||||||
#ifdef USE_OTA_STATE_CALLBACK
|
#ifdef USE_OTA_STATE_CALLBACK
|
||||||
OTAGlobalCallback *global_ota_component =
|
OTAGlobalCallback *global_ota_component = new OTAGlobalCallback; // NOLINT(cppcoreguidelines-owning-memory)
|
||||||
new OTAGlobalCallback; // NOLINT(cppcoreguidelines-avoid-non-const-global-variables)
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
} // namespace ota
|
} // namespace ota
|
||||||
|
|||||||
Reference in New Issue
Block a user