mirror of
https://github.com/opencv/opencv.git
synced 2026-07-29 07:13:02 +04:00
Fixs several problems found by static analysis
This commit is contained in:
@@ -704,6 +704,7 @@ public:
|
||||
const char* json_signature = "{";
|
||||
const char* xml_signature = "<?xml";
|
||||
char* buf = this->gets(16);
|
||||
CV_Assert(buf);
|
||||
char* bufPtr = cv_skip_BOM(buf);
|
||||
size_t bufOffset = bufPtr - buf;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user