Fix GCC warning

This commit is contained in:
SChernykh 2020-12-19 19:50:52 +01:00
parent 5efd00abec
commit ac46d6f8de

View file

@ -244,7 +244,9 @@ namespace randomx {
switch (arch) {
case xmrig::ICpuInfo::ARCH_ZEN:
case xmrig::ICpuInfo::ARCH_ZEN_PLUS:
default:
// AVX2 init is slower on Zen/Zen+
// Also disable it for other unknown architectures
initDatasetAVX2 = false;
break;
case xmrig::ICpuInfo::ARCH_ZEN2: