1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-31 08:13:04 +04:00

fix coverity reports

This commit is contained in:
Alexander Alekhin
2018-11-11 13:51:47 +00:00
parent 56eebb926d
commit 801c943009
2 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -1801,7 +1801,7 @@ struct Net::Impl
nextEltwiseLayer = nextData->layerInstance.dynamicCast<EltwiseLayer>();
if( !nextEltwiseLayer.empty() && pinsToKeep.count(lpNext) == 0 &&
nextData->inputBlobsId.size() == 2 )
nextData && nextData->inputBlobsId.size() == 2 )
{
LayerData *eltwiseData = nextData;