Fix tegra build warnings
authorAndrey Kamaev <andrey.kamaev@itseez.com>
Tue, 7 Aug 2012 08:42:25 +0000 (12:42 +0400)
committerAndrey Kamaev <andrey.kamaev@itseez.com>
Tue, 7 Aug 2012 10:29:51 +0000 (14:29 +0400)
.gitignore
modules/objdetect/src/cascadedetect.hpp

index e5ff043..dbf89bb 100644 (file)
@@ -1,3 +1,4 @@
 *.pyc
 .DS_Store
 refman.rst
+OpenCV4Tegra/
index 7e6a346..ec208c1 100644 (file)
@@ -444,7 +444,7 @@ inline int predictCategoricalStump( CascadeClassifier& cascade, Ptr<FeatureEvalu
     CascadeClassifier::Data::Stage* cascadeStages = &cascade.data.stages[0];
 
 #ifdef HAVE_TEGRA_OPTIMIZATION
-    float tmp; // float accumulator -- float operations are quicker
+    float tmp = 0; // float accumulator -- float operations are quicker
 #endif
     for( int si = 0; si < nstages; si++ )
     {