]> granicus.if.org Git - apache/commitdiff
get rid of some -Wall warnings
authorDoug MacEachern <dougm@apache.org>
Fri, 15 Mar 2002 01:46:47 +0000 (01:46 +0000)
committerDoug MacEachern <dougm@apache.org>
Fri, 15 Mar 2002 01:46:47 +0000 (01:46 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93947 13f79535-47bb-0310-9956-ffa450edef68

modules/ssl/ssl_scache_shmcb.c
modules/ssl/ssl_util_table.c

index 508bf9395bf5f91941f0f7cf48fd168d98257029..d2707ca460da723375b43eda9a41991c1f317917 100644 (file)
@@ -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);
index ea4ffa189cd72d69e5c4a22f25535e5b00ce7821..0e1680926ead1a00e38bf99a88b42ce5a16f771b 100644 (file)
@@ -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)