From: Doug MacEachern Date: Fri, 15 Mar 2002 01:46:47 +0000 (+0000) Subject: get rid of some -Wall warnings X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a72180a86a26ee14f3dc42cd138a0b78e83e34f0;p=thirdparty%2Fapache%2Fhttpd.git get rid of some -Wall warnings git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@93947 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/ssl_scache_shmcb.c b/ssl_scache_shmcb.c index 508bf9395bf..d2707ca460d 100644 --- a/ssl_scache_shmcb.c +++ b/ssl_scache_shmcb.c @@ -269,10 +269,13 @@ static void shmcb_set_safe_time_ex(unsigned char *, const unsigned char *); /* This is necessary simply so that the size passed to memset() is not a * compile-time constant, preventing the compiler from optimising it. */ +#if 0 +/* XXX: this isn't used, is it needed? */ static void shmcb_safe_clear(void *ptr, size_t size) { memset(ptr, 0, size); } +#endif /* Underlying functions for session-caching */ static BOOL shmcb_init_memory(server_rec *, void *, unsigned int); diff --git a/ssl_util_table.c b/ssl_util_table.c index ea4ffa189cd..0e1680926ea 100644 --- a/ssl_util_table.c +++ b/ssl_util_table.c @@ -989,7 +989,9 @@ int table_set_data_alignment(table_t * table_p, const int alignment) */ int table_clear(table_t * table_p) { +#if 0 table_entry_t *entry_p, *next_p; +#endif table_entry_t **bucket_p, **bounds_p; if (table_p == NULL)