suppress warning

pull/3471/head
kallaballa 2 years ago
parent 9cdc2e65f5
commit 355ba75152
  1. 1
      modules/v4d/src/v4d.cpp

@ -302,6 +302,7 @@ bool V4D::capture() {
bool V4D::capture(std::function<void(cv::UMat&)> fn) {
bool res = true;
TimeTracker::getInstance()->execute("capture", [this, fn, &res](){
CV_UNUSED(res);
if (!source_.isReady() || !source_.isOpen()) {
#ifndef __EMSCRIPTEN__
res = false;

Loading…
Cancel
Save