Skip to content

Commit

Permalink
Replace == false if conditions with ! (#23814)
Browse files Browse the repository at this point in the history
  • Loading branch information
andy31415 authored Nov 30, 2022
1 parent 414705c commit 7609daf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/platform/Darwin/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ static_library("Darwin") {
]
}

if (chip_disable_platform_kvs == false) {
if (!chip_disable_platform_kvs) {
sources += [
"DeviceInstanceInfoProviderImpl.cpp",
"DeviceInstanceInfoProviderImpl.h",
Expand Down
2 changes: 1 addition & 1 deletion src/system/system.gni
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 7609daf

Please sign in to comment.