Skip to content

Commit 4296519

Browse files
committed
Fix warning
1 parent 05f4144 commit 4296519

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

include/xsimd/xsimd_cpu_features_x86.hpp

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,12 @@ namespace xsimd
263263
inline void get_cpuid(int reg[4], int level, int count) noexcept
264264
{
265265
#if !XSIMD_TARGET_X86
266-
reg = {}; // Fill zeros
266+
reg[0] = 0;
267+
reg[1] = 0;
268+
reg[2] = 0;
269+
reg[3] = 0;
270+
(void)level;
271+
(void)count;
267272

268273
#elif defined(_MSC_VER)
269274
__cpuidex(reg, level, count);

0 commit comments

Comments
 (0)