build: fix unused variable warning for vzeroupper guard

pull/9142/head
Alexander Alekhin 8 years ago
parent 9365817bfd
commit e7cc2eea1d
  1. 2
      modules/core/include/opencv2/core/cv_cpu_dispatch.h

@ -108,7 +108,7 @@ struct VZeroUpperGuard {
#endif
inline ~VZeroUpperGuard() { _mm256_zeroupper(); }
};
#define __CV_AVX_GUARD VZeroUpperGuard __vzeroupper_guard;
#define __CV_AVX_GUARD VZeroUpperGuard __vzeroupper_guard; (void)__vzeroupper_guard;
#endif
#endif // __OPENCV_BUILD

Loading…
Cancel
Save