mirror of
https://git.libcamera.org/libcamera/libcamera.git
synced 2025-07-19 02:15:05 +03:00
cam: Drop unneeded error check and message
The EventLoop::exec() function returns the exit code of the event loop, not an error status. Drop the corresponding error check and error message. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
This commit is contained in:
parent
033cac7f6d
commit
2eeb431a93
1 changed files with 1 additions and 3 deletions
|
@ -313,9 +313,7 @@ int CamApp::run()
|
|||
|
||||
if (options_.isSet(OptMonitor)) {
|
||||
std::cout << "Press Ctrl-C to interrupt" << std::endl;
|
||||
ret = loop_.exec();
|
||||
if (ret)
|
||||
std::cout << "Failed to run monitor loop" << std::endl;
|
||||
loop_.exec();
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue