Merge "Uninitialized member fix :(" into rvc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
b9bc1dffbb
@@ -581,6 +581,7 @@ StorageId IncrementalService::findStorageId(std::string_view path) const {
|
||||
int IncrementalService::setStorageParams(StorageId storageId, bool enableReadLogs) {
|
||||
const auto ifs = getIfs(storageId);
|
||||
if (!ifs) {
|
||||
LOG(ERROR) << "setStorageParams failed, invalid storageId: " << storageId;
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
|
||||
@@ -160,12 +160,12 @@ public:
|
||||
class IncrementalServiceConnector : public BnIncrementalServiceConnector {
|
||||
public:
|
||||
IncrementalServiceConnector(IncrementalService& incrementalService, int32_t storage)
|
||||
: incrementalService(incrementalService) {}
|
||||
: incrementalService(incrementalService), storage(storage) {}
|
||||
binder::Status setStorageParams(bool enableReadLogs, int32_t* _aidl_return) final;
|
||||
|
||||
private:
|
||||
IncrementalService& incrementalService;
|
||||
int32_t storage;
|
||||
int32_t const storage;
|
||||
};
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user