From: Doug MacEachern Date: Fri, 15 Mar 2002 01:46:47 +0000 (+0000) Subject: get rid of some -Wall warnings X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1b6bfba4d5a03bdb534a23a69f6bfe740b81d4e8;p=apache get rid of some -Wall warnings git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93947 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/ssl/ssl_scache_shmcb.c b/modules/ssl/ssl_scache_shmcb.c index 508bf9395b..d2707ca460 100644 --- a/modules/ssl/ssl_scache_shmcb.c +++ b/modules/ssl/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/modules/ssl/ssl_util_table.c b/modules/ssl/ssl_util_table.c index ea4ffa189c..0e1680926e 100644 --- a/modules/ssl/ssl_util_table.c +++ b/modules/ssl/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)