[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor/master] Replace a "const const" with a "const"



commit da62af6f6b369592609d2da43b82abde0bbccfac
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
Date:   Fri Jul 1 11:11:35 2011 -0400

    Replace a "const const" with a "const"
    
    Looks like this squeaked in while I was doing a search-and-replace
    to constify things.  Coverity CID 483.
---
 src/or/config.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/or/config.c b/src/or/config.c
index df5cc86..bb335dd 100644
--- a/src/or/config.c
+++ b/src/or/config.c
@@ -2367,7 +2367,7 @@ options_trial_assign(config_line_t *list, int use_defaults,
  * Called from option_reset() and config_free(). */
 static void
 option_clear(const config_format_t *fmt, or_options_t *options,
-             const const config_var_t *var)
+             const config_var_t *var)
 {
   void *lvalue = STRUCT_VAR_P(options, var->var_offset);
   (void)fmt; /* unused */



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits