fix unitialized variable warning
This commit is contained in:
parent
85a007d87b
commit
0baa8215ef
@ -98,7 +98,7 @@ private:
|
||||
}
|
||||
|
||||
inline unsigned cpuid() const {
|
||||
unsigned eax, ebx, ecx, edx;
|
||||
unsigned eax = 0, ebx = 0, ecx = 0, edx = 0;
|
||||
// on X64 this calls hardware cpuid(.) instr. otherwise a dummy impl.
|
||||
__get_cpuid( 1, &eax, &ebx, &ecx, &edx );
|
||||
return ecx;
|
||||
|
Loading…
Reference in New Issue
Block a user