Fix compile errors on webrtc/base.

R=fbarchard@google.com, henrike@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/18339004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@7052 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
andresp@webrtc.org 2014-09-04 04:59:52 +00:00
parent 0229cbae33
commit bfd7a8c448

View File

@ -259,7 +259,7 @@ std::string SystemInfo::GetCpuVendor() {
__cpuid(cpu_info, 0);
cpu_info[0] = cpu_info[1]; // Reorder output
cpu_info[1] = cpu_info[3];
cpu_info[2] = cpu_info[2];
// cpu_info[2] = cpu_info[2]; // Avoid -Werror=self-assign
cpu_info[3] = 0;
cpu_vendor_ = std::string(reinterpret_cast<char*>(&cpu_info[0]));
#elif defined(CPU_ARM)