small fixes
This commit is contained in:
parent
1ee01ffcdb
commit
364bce90dd
@ -132,7 +132,8 @@ ReturnValue_t LocalPool::deleteData(store_address_t storeId) {
|
|||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
//pool_index or packet_index is too large
|
//pool_index or packet_index is too large
|
||||||
sif::error << "LocalPool:deleteData failed." << std::endl;
|
sif::error << "LocalPool::deleteData: Illegal store ID, no deletion!"
|
||||||
|
<< std::endl;
|
||||||
status = ILLEGAL_STORAGE_ID;
|
status = ILLEGAL_STORAGE_ID;
|
||||||
}
|
}
|
||||||
return status;
|
return status;
|
||||||
@ -165,7 +166,6 @@ ReturnValue_t LocalPool::deleteData(uint8_t *ptr, size_t size,
|
|||||||
*storeId = localId;
|
*storeId = localId;
|
||||||
}
|
}
|
||||||
return result;
|
return result;
|
||||||
return HasReturnvaluesIF::RETURN_OK;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user