You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by fu...@apache.org on 2013/05/10 04:32:26 UTC
svn commit: r1480862 - /apr/apr/trunk/test/testtime.c
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;