Return-Path: X-Original-To: apmail-apr-commits-archive@www.apache.org Delivered-To: apmail-apr-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 76535119A3 for ; Fri, 10 May 2013 02:32:49 +0000 (UTC) Received: (qmail 15207 invoked by uid 500); 10 May 2013 02:32:49 -0000 Delivered-To: apmail-apr-commits-archive@apr.apache.org Received: (qmail 15148 invoked by uid 500); 10 May 2013 02:32:49 -0000 Mailing-List: contact commits-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: Reply-To: dev@apr.apache.org List-Id: Delivered-To: mailing list commits@apr.apache.org Received: (qmail 15141 invoked by uid 99); 10 May 2013 02:32:49 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 May 2013 02:32:49 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 May 2013 02:32:47 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 478BE23889DA; Fri, 10 May 2013 02:32:26 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1480862 - /apr/apr/trunk/test/testtime.c Date: Fri, 10 May 2013 02:32:26 -0000 To: commits@apr.apache.org From: fuankg@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20130510023226.478BE23889DA@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: fuankg Date: Fri May 10 02:32:25 2013 New Revision: 1480862 URL: http://svn.apache.org/r1480862 Log: Slighty modified fix for CodeWarrior. Modified: apr/apr/trunk/test/testtime.c Modified: apr/apr/trunk/test/testtime.c URL: http://svn.apache.org/viewvc/apr/apr/trunk/test/testtime.c?rev=1480862&r1=1480861&r2=1480862&view=diff ============================================================================== --- apr/apr/trunk/test/testtime.c (original) +++ apr/apr/trunk/test/testtime.c Fri May 10 02:32:25 2013 @@ -86,12 +86,11 @@ static void test_gmtstr(abts_case *tc, v static void test_exp_lt(abts_case *tc, void *data) { - apr_time_t test_times[3]; + apr_time_t test_times[] = {0, 0, 0}; int i; test_times[0] = now; test_times[1] = leap_year_now; - test_times[2] = 0; for (i = 0; test_times[i] != 0; i++) { apr_status_t rv;