Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c61a19bc authored by Yu Shan's avatar Yu Shan Committed by Gerrit Code Review
Browse files

Merge "Make sure the VehiclePropValue object is initialized" into main

parents 105eddfc cb700ebc
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -30,7 +30,7 @@ namespace V2_0 {

std::unique_ptr<VehiclePropValue> createVehiclePropValue(
    VehiclePropertyType type, size_t vecSize) {
    auto val = std::unique_ptr<VehiclePropValue>(new VehiclePropValue);
    auto val = std::unique_ptr<VehiclePropValue>(new VehiclePropValue());
    switch (type) {
        case VehiclePropertyType::INT32:      // fall through
        case VehiclePropertyType::INT32_VEC:  // fall through