Fix tegra build warnings

This commit is contained in:
Andrey Kamaev 2012-08-07 12:42:25 +04:00
parent 8624d18ca5
commit 1852cb7eab
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
*.pyc *.pyc
.DS_Store .DS_Store
refman.rst refman.rst
OpenCV4Tegra/

View File

@ -444,7 +444,7 @@ inline int predictCategoricalStump( CascadeClassifier& cascade, Ptr<FeatureEvalu
CascadeClassifier::Data::Stage* cascadeStages = &cascade.data.stages[0]; CascadeClassifier::Data::Stage* cascadeStages = &cascade.data.stages[0];
#ifdef HAVE_TEGRA_OPTIMIZATION #ifdef HAVE_TEGRA_OPTIMIZATION
float tmp; // float accumulator -- float operations are quicker float tmp = 0; // float accumulator -- float operations are quicker
#endif #endif
for( int si = 0; si < nstages; si++ ) for( int si = 0; si < nstages; si++ )
{ {