]> granicus.if.org Git - apache/commitdiff
* support/ab.c (write_request): Fix gcc warning at -O2 in USE_SSL
authorJoe Orton <jorton@apache.org>
Sat, 3 Jan 2004 15:58:19 +0000 (15:58 +0000)
committerJoe Orton <jorton@apache.org>
Sat, 3 Jan 2004 15:58:19 +0000 (15:58 +0000)
build.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102155 13f79535-47bb-0310-9956-ffa450edef68

support/ab.c

index a9a13d9950520d59ae2fe54d7f29d09c035065dc..6570efd02274d4635815f93e03e5eea5d49d899c 100644 (file)
@@ -735,7 +735,7 @@ static void write_request(struct connection * c)
     do {
        apr_time_t tnow = apr_time_now();
        apr_size_t l = c->rwrite;
-       apr_status_t e;
+       apr_status_t e = APR_SUCCESS; /* prevent gcc warning */
 
        /*
         * First time round ?
@@ -1825,14 +1825,14 @@ static void test(void)
 static void copyright(void)
 {
     if (!use_html) {
-       printf("This is ApacheBench, Version %s\n", AP_AB_BASEREVISION " <$Revision: 1.133 $> apache-2.0");
+       printf("This is ApacheBench, Version %s\n", AP_AB_BASEREVISION " <$Revision: 1.134 $> apache-2.0");
        printf("Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/\n");
        printf("Copyright (c) 1998-2002 The Apache Software Foundation, http://www.apache.org/\n");
        printf("\n");
     }
     else {
        printf("<p>\n");
-       printf(" This is ApacheBench, Version %s <i>&lt;%s&gt;</i> apache-2.0<br>\n", AP_AB_BASEREVISION, "$Revision: 1.133 $");
+       printf(" This is ApacheBench, Version %s <i>&lt;%s&gt;</i> apache-2.0<br>\n", AP_AB_BASEREVISION, "$Revision: 1.134 $");
        printf(" Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/<br>\n");
        printf(" Copyright (c) 1998-2002 The Apache Software Foundation, http://www.apache.org/<br>\n");
        printf("</p>\n<p>\n");