Index: source/cpu_id.cc |
diff --git a/source/cpu_id.cc b/source/cpu_id.cc |
index 0f348af366ec38520a85e743f6e3efd3d43442ad..381d40f161b51287f78778fd8353f15b4eabd2e3 100644 |
--- a/source/cpu_id.cc |
+++ b/source/cpu_id.cc |
@@ -197,7 +197,8 @@ static LIBYUV_BOOL TestEnv(const char*) { |
LIBYUV_API SAFEBUFFERS |
int InitCpuFlags(void) { |
- int cpu_info; |
+ // TODO(fbarchard): swap kCpuInit logic so 0 means uninitialized. |
+ int cpu_info = 0; |
#if !defined(__pnacl__) && !defined(__CLR_VER) && defined(CPU_X86) |
uint32 cpu_info0[4] = { 0, 0, 0, 0 }; |
uint32 cpu_info1[4] = { 0, 0, 0, 0 }; |