Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1065)

Unified Diff: src/layout-descriptor-inl.h

Issue 1420273006: AIX: Fix 'may be used uninitialized' compiler errors (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/compiler/ppc/instruction-selector-ppc.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/layout-descriptor-inl.h
diff --git a/src/layout-descriptor-inl.h b/src/layout-descriptor-inl.h
index 31ab5d1dd7d39b274c92c1e69f01d25c10b17652..3f150658e7f6628a517b7708113d5cc9162cff4c 100644
--- a/src/layout-descriptor-inl.h
+++ b/src/layout-descriptor-inl.h
@@ -62,8 +62,8 @@ LayoutDescriptor* LayoutDescriptor::SetRawData(int field_index) {
LayoutDescriptor* LayoutDescriptor::SetTagged(int field_index, bool tagged) {
- int layout_word_index;
- int layout_bit_index;
+ int layout_word_index = 0;
+ int layout_bit_index = 0;
if (!GetIndexes(field_index, &layout_word_index, &layout_bit_index)) {
CHECK(false);
« no previous file with comments | « src/compiler/ppc/instruction-selector-ppc.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698