From 6a90eccd2a914b97c165c7091552e0c1de20c097 Mon Sep 17 00:00:00 2001 From: Andrei Litvin Date: Wed, 30 Nov 2022 10:25:39 -0500 Subject: [PATCH] Replace == false if conditions with `!` (#23814) --- src/platform/Darwin/BUILD.gn | 2 +- src/system/system.gni | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/platform/Darwin/BUILD.gn b/src/platform/Darwin/BUILD.gn index da17b8af7042a6..5544ce476ff1d9 100644 --- a/src/platform/Darwin/BUILD.gn +++ b/src/platform/Darwin/BUILD.gn @@ -81,7 +81,7 @@ static_library("Darwin") { ] } - if (chip_disable_platform_kvs == false) { + if (!chip_disable_platform_kvs) { sources += [ "DeviceInstanceInfoProviderImpl.cpp", "DeviceInstanceInfoProviderImpl.h", diff --git a/src/system/system.gni b/src/system/system.gni index 0a27615c40a577..330f96be7a4c36 100644 --- a/src/system/system.gni +++ b/src/system/system.gni @@ -57,7 +57,7 @@ if (chip_system_config_locking == "") { chip_system_config_locking = "freertos" } else if (current_os == "mbed") { chip_system_config_locking = "mbed" - } else if (chip_system_config_use_dispatch == false) { + } else if (!chip_system_config_use_dispatch) { chip_system_config_locking = "posix" } else { chip_system_config_locking = "none"