build: fix unused variable warning for vzeroupper guard

This commit is contained in:
Alexander Alekhin 2017-07-11 16:46:35 +03:00
parent 9365817bfd
commit e7cc2eea1d

View File

@ -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