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-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1879029b0ab85bf2d7a644e78452d34390ee93ed;p=thirdparty%2Fapache%2Fhttpd.git 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/modules/ssl@93188 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/ssl_engine_kernel.c b/ssl_engine_kernel.c index 00ba0e8f45e..a9786d229fc 100644 --- a/ssl_engine_kernel.c +++ b/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;