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

Commit 03d2a626 authored by qiwu chen's avatar qiwu chen Committed by android-build-merger
Browse files

Merge "fastboot: Initialize UploadInner dsize value to 0" am: b5440039

am: 148062f2

Change-Id: I2a310aff2d400836abb8bd0c133bb1c6ddc9afcf
parents 7ce07093 148062f2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -291,7 +291,7 @@ RetCode FastBootDriver::Upload(const std::string& outfile, std::string* response
RetCode FastBootDriver::UploadInner(const std::string& outfile, std::string* response,
                                    std::vector<std::string>* info) {
    RetCode ret;
    int dsize;
    int dsize = 0;
    if ((ret = RawCommand(FB_CMD_UPLOAD, response, info, &dsize))) {
        error_ = "Upload request failed: " + error_;
        return ret;