diff options
author | Frank Barchard <fbarchard@google.com> | 2015-12-08 19:03:43 -0800 |
---|---|---|
committer | Frank Barchard <fbarchard@google.com> | 2015-12-08 19:03:43 -0800 |
commit | 353ffbab8055432a7383eac6c05c1b3cbd5f2679 (patch) | |
tree | 2cca3f268e66d8cb3887f4adbc8a3c300504664b /source/cpu_id.cc | |
parent | a2ea90567998b1ab93ce7fe3acc25922862e4c9c (diff) | |
download | libyuv-353ffbab8055432a7383eac6c05c1b3cbd5f2679.tar.gz |
fix for gcc compile error: variable duplicate define
TBR=harryjin@google.com
BUG=libyuv:529
Review URL: https://codereview.chromium.org/1512793002 .
Diffstat (limited to 'source/cpu_id.cc')
-rw-r--r-- | source/cpu_id.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/source/cpu_id.cc b/source/cpu_id.cc index e58a42cd..ff7bdbd9 100644 --- a/source/cpu_id.cc +++ b/source/cpu_id.cc @@ -120,7 +120,6 @@ int GetXCR0() { #if (_MSC_FULL_VER >= 160040219) xcr0 = (uint32)(_xgetbv(0)); // VS2010 SP1 required. #elif defined(__i386__) || defined(__x86_64__) - uint32 xcr0 = 0u; asm(".byte 0x0f, 0x01, 0xd0" : "=a" (xcr0) : "c" (0) : "%edx"); #endif // defined(__i386__) || defined(__x86_64__) return xcr0; |