Fix tegra build warnings

pull/7/merge
Andrey Kamaev 12 years ago
parent 8624d18ca5
commit 1852cb7eab
  1. 1
      .gitignore
  2. 2
      modules/objdetect/src/cascadedetect.hpp

1
.gitignore vendored

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

@ -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++ )
{

Loading…
Cancel
Save