Merge "fastboot: Initialize UploadInner dsize value to 0"
This commit is contained in:
commit
b5440039ac
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue