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

Fixed several warnings produced by clang 6 and static analyzers

This commit is contained in:
Maksim Shabunin
2017-12-25 16:57:40 +03:00
parent cbb21f3cf2
commit 8b87c4b96a
10 changed files with 64 additions and 71 deletions
+1
View File
@@ -3125,6 +3125,7 @@ cvCloneImage( const IplImage* src )
dst = (IplImage*)cvAlloc( sizeof(*dst));
memcpy( dst, src, sizeof(*src));
dst->nSize = sizeof(IplImage);
dst->imageData = dst->imageDataOrigin = 0;
dst->roi = 0;