cpuinfo: silence compiler warnings on non-Intel CPU architectures.
authorRyan C. Gordon <icculus@icculus.org>
Thu, 17 Nov 2016 01:41:56 -0500
changeset 106233b93b7acc1b4
parent 10622 972f7f6dd9b9
child 10624 294ee69a9f11
cpuinfo: silence compiler warnings on non-Intel CPU architectures.
src/cpuinfo/SDL_cpuinfo.c
     1.1 --- a/src/cpuinfo/SDL_cpuinfo.c	Thu Nov 17 01:34:18 2016 -0500
     1.2 +++ b/src/cpuinfo/SDL_cpuinfo.c	Thu Nov 17 01:41:56 2016 -0500
     1.3 @@ -362,6 +362,7 @@
     1.4  {
     1.5      if (CPU_OSSavesYMM && (CPU_CPUIDMaxFunction >= 7)) {
     1.6          int a, b, c, d;
     1.7 +        (void) a; (void) b; (void) c; (void) d;  /* compiler warnings... */
     1.8          cpuid(7, a, b, c, d);
     1.9          return (b & 0x00000020);
    1.10      }