From: Andrey Kamaev Date: Mon, 27 Feb 2012 09:19:30 +0000 (+0000) Subject: Fixed Android build warning X-Git-Tag: accepted/tizen/6.0/unified/20201030.111113~5456 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=32080ece8cf303c7a4181095bdddb9d3700ea038;p=platform%2Fupstream%2Fopencv.git Fixed Android build warning --- diff --git a/modules/objdetect/include/opencv2/objdetect/objdetect.hpp b/modules/objdetect/include/opencv2/objdetect/objdetect.hpp index 1e7ab4e..9095191 100644 --- a/modules/objdetect/include/opencv2/objdetect/objdetect.hpp +++ b/modules/objdetect/include/opencv2/objdetect/objdetect.hpp @@ -688,7 +688,7 @@ struct Feature int y; ///< y offset int label; ///< Quantization - Feature() {} + Feature() : x(0), y(0), label(0) {} Feature(int x, int y, int label) : x(x), y(y), label(label) {} void read(const FileNode& fn);