From: Cliff Woolley Date: Sun, 3 Feb 2002 01:50:58 +0000 (+0000) Subject: Silence a gcc warning about cpType being possibly used uninitialized, X-Git-Tag: 2.0.32~133 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7b7ec65b73bb665e28d2de0adbd4fea6c30ece4c;p=apache Silence a gcc warning about cpType being possibly used uninitialized, 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 --- diff --git a/modules/ssl/ssl_engine_kernel.c b/modules/ssl/ssl_engine_kernel.c index 00ba0e8f45..a9786d229f 100644 --- a/modules/ssl/ssl_engine_kernel.c +++ b/modules/ssl/ssl_engine_kernel.c @@ -73,7 +73,7 @@ apr_status_t ssl_hook_CloseConnection(SSLFilterRec *filter) { SSL *ssl; - char *cpType; + const char *cpType = ""; conn_rec *conn; SSLConnRec *sslconn;