Commit a72180a8 authored by Doug MacEachern's avatar Doug MacEachern
Browse files

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
parent 64d41b4e
Loading
Loading
Loading
Loading
+3 −0
Changes for ssl_scache_shmcb.c: 3 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -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);
+2 −0
Changes for ssl_util_table.c: 2 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -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)