Skip to content

Commit

Permalink
change return type (#25873)
Browse files Browse the repository at this point in the history
  • Loading branch information
pankore authored and pull[bot] committed Oct 26, 2023
1 parent 4c48126 commit 5e50805
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/platform/Ameba/KeyValueStoreManagerImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ CHIP_ERROR KeyValueStoreManagerImpl::_Put(const char * key, const void * value,
if (checkExist(key, key))
{
ret = deleteKey(key, key);
if (TRUE != ret)
if (ret != 0)
{
ChipLogError(DeviceLayer, "Warning, KVS leakage, failed to remove old kvs value");
}
Expand Down

0 comments on commit 5e50805

Please sign in to comment.