Skip to content

Commit 533631d

Browse files
asmorkalovGitOps Bot
authored andcommitted
More warning fixes iG-API on Windows.
1 parent 78019ed commit 533631d

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

modules/gapi/src/backends/common/serialization.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -393,10 +393,9 @@ IOStream& operator<< (IOStream& os, const cv::GArrayDesc &) {return os;}
393393
IIStream& operator>> (IIStream& is, cv::GArrayDesc &) {return is;}
394394

395395
#if !defined(GAPI_STANDALONE)
396-
IOStream& operator<< (IOStream& os, const cv::UMat &)
396+
IOStream& operator<< (IOStream&, const cv::UMat &)
397397
{
398398
GAPI_Error("Serialization: Unsupported << for UMat");
399-
return os;
400399
}
401400
IIStream& operator >> (IIStream&, cv::UMat &)
402401
{

modules/gapi/src/compiler/gcompiler.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,6 @@ void cv::gimpl::GCompiler::validateInputMeta()
341341
default:
342342
GAPI_Error("InternalError");
343343
}
344-
return false; // should never happen
345344
};
346345

347346
GAPI_LOG_DEBUG(nullptr, "Total count: " << m_metas.size());

0 commit comments

Comments
 (0)