mirror of
https://github.com/opencv/opencv.git
synced 2026-07-31 08:13:04 +04:00
Fixed several issues detected by static analysis
This commit is contained in:
@@ -338,7 +338,7 @@ struct LayerPin
|
||||
|
||||
struct LayerData
|
||||
{
|
||||
LayerData() : id(-1), flag(0) {}
|
||||
LayerData() : id(-1), skip(false), flag(0) {}
|
||||
LayerData(int _id, const String &_name, const String &_type, LayerParams &_params)
|
||||
: id(_id), name(_name), type(_type), params(_params), skip(false), flag(0)
|
||||
{
|
||||
|
||||
@@ -270,7 +270,7 @@ public:
|
||||
int poolingType;
|
||||
float spatialScale;
|
||||
|
||||
PoolingInvoker() : src(0), rois(0), dst(0), mask(0), nstripes(0),
|
||||
PoolingInvoker() : src(0), rois(0), dst(0), mask(0), avePoolPaddedArea(false), nstripes(0),
|
||||
computeMaxIdx(0), poolingType(MAX), spatialScale(0) {}
|
||||
|
||||
static void run(const Mat& src, const Mat& rois, Mat& dst, Mat& mask, Size kernel,
|
||||
|
||||
Reference in New Issue
Block a user