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

Commit a0a4fa73 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

am: 03d2a626

Change-Id: I5294de1f5f3748d03611c1235320972d337e7ddb
parents 88a3a5c1 03d2a626
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;