summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/libcamera/pipeline_handler.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libcamera/pipeline_handler.cpp b/src/libcamera/pipeline_handler.cpp
index 884feaa6..4349ca89 100644
--- a/src/libcamera/pipeline_handler.cpp
+++ b/src/libcamera/pipeline_handler.cpp
@@ -409,13 +409,13 @@ void PipelineHandler::completeRequest(Camera *camera, Request *request)
CameraData *data = cameraData(camera);
while (!data->queuedRequests_.empty()) {
- request = data->queuedRequests_.front();
- if (request->status() == Request::RequestPending)
+ Request *req = data->queuedRequests_.front();
+ if (req->status() == Request::RequestPending)
break;
- ASSERT(!request->hasPendingBuffers());
+ ASSERT(!req->hasPendingBuffers());
data->queuedRequests_.pop_front();
- camera->requestComplete(request);
+ camera->requestComplete(req);
}
}