From: ricow@chromium.org Date: Fri, 7 May 2010 12:00:12 +0000 (+0000) Subject: Fix presubmit error. X-Git-Tag: upstream/4.7.83~21844 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=74fb282ba9eeda188d85ddfa3a9645f777d627de;p=platform%2Fupstream%2Fv8.git Fix presubmit error. Review URL: http://codereview.chromium.org/1998010 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@4615 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- diff --git a/src/dateparser.cc b/src/dateparser.cc index 9bb8888..6d80488 100644 --- a/src/dateparser.cc +++ b/src/dateparser.cc @@ -33,11 +33,11 @@ namespace v8 { namespace internal { bool DateParser::DayComposer::Write(FixedArray* output) { - if (index_ < 1) return false; - // Day and month defaults to 1. - while (index_ < kSize) { - comp_[index_++] = 1; - } + if (index_ < 1) return false; + // Day and month defaults to 1. + while (index_ < kSize) { + comp_[index_++] = 1; + } int year = 0; // Default year is 0 (=> 2000) for KJS compatibility. int month = kNone;