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