Commit 78356a00 authored by dongseong.hwang's avatar dongseong.hwang Committed by Commit bot

Fix build warning in device_command_screenshot_job.cc

device_command_screenshot_job.cc:132:70: warning: 'result_code' may be used uninitialized in this function [-Wmaybe-uninitialized]

Review URL: https://codereview.chromium.org/1159163006

Cr-Commit-Position: refs/heads/master@{#333691}
parent 46709b27
......@@ -113,7 +113,7 @@ void DeviceCommandScreenshotJob::OnSuccess() {
}
void DeviceCommandScreenshotJob::OnFailure(UploadJob::ErrorCode error_code) {
ResultCode result_code;
ResultCode result_code = FAILURE_CLIENT;
switch (error_code) {
case UploadJob::AUTHENTICATION_ERROR:
result_code = FAILURE_AUTHENTICATION;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment