GAPI: fix uninitialized variables in Fluid

This commit is contained in:
Anton Potapov 2020-05-25 11:59:28 +03:00
parent 7f453ade73
commit be9f3826d7
2 changed files with 2 additions and 2 deletions

View File

@ -87,7 +87,7 @@ public:
private:
std::unique_ptr<Priv> m_priv;
const Cache* m_cache;
const Cache* m_cache = nullptr;
};
class GAPI_EXPORTS Buffer

View File

@ -245,7 +245,7 @@ class GAPI_EXPORTS Buffer::Priv
// Coordinate starting from which this buffer is assumed
// to be read (with border not being taken into account)
int m_readStart;
int m_readStart = 0;
cv::Rect m_roi;
friend void debugBufferPriv(const Buffer& p, std::ostream &os);