mirror of
https://github.com/esphome/esphome.git
synced 2025-10-25 13:13:48 +01:00
Activate some clang-tidy checks (#1884)
This commit is contained in:
@@ -11,8 +11,8 @@ namespace esphome {
|
||||
namespace climate {
|
||||
|
||||
#define LOG_CLIMATE(prefix, type, obj) \
|
||||
if (obj != nullptr) { \
|
||||
ESP_LOGCONFIG(TAG, "%s%s '%s'", prefix, type, obj->get_name().c_str()); \
|
||||
if ((obj) != nullptr) { \
|
||||
ESP_LOGCONFIG(TAG, "%s%s '%s'", prefix, type, (obj)->get_name().c_str()); \
|
||||
}
|
||||
|
||||
class Climate;
|
||||
|
||||
Reference in New Issue
Block a user