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 and pull[bot] committed Feb 16, 2023
1 parent 3ee653d commit a9a6618
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 a9a6618

Please sign in to comment.