mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-16 11:06:49 +01:00
cpuinfo: silence compiler warnings on non-Intel CPU architectures.
This commit is contained in:
parent
66a36d5660
commit
db97c3d3e8
@ -362,6 +362,7 @@ CPU_haveAVX2(void)
|
||||
{
|
||||
if (CPU_OSSavesYMM && (CPU_CPUIDMaxFunction >= 7)) {
|
||||
int a, b, c, d;
|
||||
(void) a; (void) b; (void) c; (void) d; /* compiler warnings... */
|
||||
cpuid(7, a, b, c, d);
|
||||
return (b & 0x00000020);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user