Skip to content

Commit

Permalink
libcamera: pipeline: rkisp1: Remove unused assignment
Browse files Browse the repository at this point in the history
The variable 'ret' is assigned but not read until after the next
assignment.

Signed-off-by: Christian Rauch <Rauch.Christian@gmx.de>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
  • Loading branch information
christianrauch authored and pinchartl committed Aug 21, 2022
1 parent 90a0df1 commit fa388da
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/libcamera/pipeline/rkisp1/rkisp1.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -688,7 +688,6 @@ int PipelineHandlerRkISP1::configure(Camera *camera, CameraConfiguration *c)
/* \todo Turn this into a hard failure. */
LOG(RkISP1, Warning) << "Camera sensor information not available";
sensorInfo = {};
ret = 0;
}

std::map<uint32_t, ControlInfoMap> entityControls;
Expand Down

0 comments on commit fa388da

Please sign in to comment.