apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fua...@apache.org
Subject svn commit: r1480862 - /apr/apr/trunk/test/testtime.c
Date Fri, 10 May 2013 02:32:26 GMT
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;



Mime
View raw message