Skip to content

Commit 7609daf

Browse files
authored
Replace == false if conditions with ! (#23814)
1 parent 414705c commit 7609daf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/platform/Darwin/BUILD.gn

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ static_library("Darwin") {
8181
]
8282
}
8383

84-
if (chip_disable_platform_kvs == false) {
84+
if (!chip_disable_platform_kvs) {
8585
sources += [
8686
"DeviceInstanceInfoProviderImpl.cpp",
8787
"DeviceInstanceInfoProviderImpl.h",

src/system/system.gni

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ if (chip_system_config_locking == "") {
5757
chip_system_config_locking = "freertos"
5858
} else if (current_os == "mbed") {
5959
chip_system_config_locking = "mbed"
60-
} else if (chip_system_config_use_dispatch == false) {
60+
} else if (!chip_system_config_use_dispatch) {
6161
chip_system_config_locking = "posix"
6262
} else {
6363
chip_system_config_locking = "none"

0 commit comments

Comments
 (0)