From db97c3d3e8d670ee3cf9e6d506b38efa6d12b2f4 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Thu, 17 Nov 2016 01:41:56 -0500 Subject: [PATCH] cpuinfo: silence compiler warnings on non-Intel CPU architectures. --- src/cpuinfo/SDL_cpuinfo.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/cpuinfo/SDL_cpuinfo.c b/src/cpuinfo/SDL_cpuinfo.c index 38aa633fd..f98cf76aa 100644 --- a/src/cpuinfo/SDL_cpuinfo.c +++ b/src/cpuinfo/SDL_cpuinfo.c @@ -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); }