]> granicus.if.org Git - apache/commitdiff
Silence a gcc warning about cpType being possibly used uninitialized,
authorCliff Woolley <jwoolley@apache.org>
Sun, 3 Feb 2002 01:50:58 +0000 (01:50 +0000)
committerCliff Woolley <jwoolley@apache.org>
Sun, 3 Feb 2002 01:50:58 +0000 (01:50 +0000)
and constify it while I'm at it.

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

modules/ssl/ssl_engine_kernel.c

index 00ba0e8f45e19a7bf3bff17fc4dc143bb7258041..a9786d229fce6a99e2713ec36ddc23ca48950e63 100644 (file)
@@ -73,7 +73,7 @@
 apr_status_t ssl_hook_CloseConnection(SSLFilterRec *filter)
 {
     SSL *ssl;
-    char *cpType;
+    const char *cpType = "";
     conn_rec *conn;
     SSLConnRec *sslconn;