mirror of
https://github.com/esphome/esphome.git
synced 2025-09-15 01:32:19 +01:00
Enable a bunch of clang-tidy checks (#2149)
This commit is contained in:
@@ -98,7 +98,7 @@ void LightCall::perform() {
|
||||
// EFFECT
|
||||
auto effect = this->effect_;
|
||||
const char *effect_s;
|
||||
if (effect == 0)
|
||||
if (effect == 0u)
|
||||
effect_s = "None";
|
||||
else
|
||||
effect_s = this->parent_->effects_[*this->effect_ - 1]->get_name().c_str();
|
||||
|
Reference in New Issue
Block a user