From 32080ece8cf303c7a4181095bdddb9d3700ea038 Mon Sep 17 00:00:00 2001 From: Andrey Kamaev Date: Mon, 27 Feb 2012 09:19:30 +0000 Subject: [PATCH] Fixed Android build warning --- modules/objdetect/include/opencv2/objdetect/objdetect.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/objdetect/include/opencv2/objdetect/objdetect.hpp b/modules/objdetect/include/opencv2/objdetect/objdetect.hpp index 1e7ab4e96..90951919a 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);