| Index: components/update_client/action_wait.cc
|
| diff --git a/components/update_client/action_wait.cc b/components/update_client/action_wait.cc
|
| index f18d7ccdbb313c7cca86054226fca4cd644ca68f..a4fddefb89c79a85ddb015ec63bd5f6d7629e194 100644
|
| --- a/components/update_client/action_wait.cc
|
| +++ b/components/update_client/action_wait.cc
|
| @@ -36,7 +36,7 @@ void ActionWait::Run(UpdateContext* update_context, Callback callback) {
|
| // control flow to the update engine, as the updates in this context are
|
| // completed with an error.
|
| while (!update_context->queue.empty()) {
|
| - const auto item = FindUpdateItemById(update_context->queue.front());
|
| + auto* item = FindUpdateItemById(update_context->queue.front());
|
| if (!item) {
|
| item->error_category = static_cast<int>(ErrorCategory::kServiceError);
|
| item->error_code = static_cast<int>(ServiceError::ERROR_WAIT);
|
|
|