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

Commit 148062f2 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

Change-Id: I4693cb601f6d7888181bca0e1c59d4ae35306dce
parents 8e4f7fb1 b5440039
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;