Commit 2e2e8109 authored by mbrandy's avatar mbrandy Committed by Commit bot

AIX: Fix 'may be used uninitialized' compiler errors.

Fix additional cases where the AIX compiler reports that a variable
may be used uninitialized.

R=danno@chromium.org, michael_dawson@ca.ibm.com
BUG=

Review URL: https://codereview.chromium.org/1755673002

Cr-Commit-Position: refs/heads/master@{#34435}
parent db2419c3
...@@ -242,7 +242,7 @@ RUNTIME_FUNCTION(Runtime_LiveEditCompareStrings) { ...@@ -242,7 +242,7 @@ RUNTIME_FUNCTION(Runtime_LiveEditCompareStrings) {
CONVERT_ARG_HANDLE_CHECKED(String, s2, 1); CONVERT_ARG_HANDLE_CHECKED(String, s2, 1);
Handle<JSArray> result = LiveEdit::CompareStrings(s1, s2); Handle<JSArray> result = LiveEdit::CompareStrings(s1, s2);
uint32_t array_length; uint32_t array_length = 0;
CHECK(result->length()->ToArrayLength(&array_length)); CHECK(result->length()->ToArrayLength(&array_length));
if (array_length > 0) { if (array_length > 0) {
isolate->debug()->feature_tracker()->Track(DebugFeatureTracker::kLiveEdit); isolate->debug()->feature_tracker()->Track(DebugFeatureTracker::kLiveEdit);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment