Commit e7cc2eea authored by Alexander Alekhin's avatar Alexander Alekhin

build: fix unused variable warning for vzeroupper guard

parent 9365817b
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment