diff options
author | Nick Mathewson <nickm@torproject.org> | 2019-10-09 11:12:41 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2019-10-22 09:32:13 -0400 |
commit | ef5d1e6b656e752c79bb5df26f64aef51550594f (patch) | |
tree | e72b17af1a29557af44595deefa50ae43ca96c1e | |
parent | d9bad0203bb0926883d8d1513ddc966e84fcc734 (diff) | |
download | tor-ef5d1e6b656e752c79bb5df26f64aef51550594f.tar.gz tor-ef5d1e6b656e752c79bb5df26f64aef51550594f.zip |
consdiff disable a macro when running with COCCI
-rw-r--r-- | src/feature/dircommon/consdiff.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/feature/dircommon/consdiff.c b/src/feature/dircommon/consdiff.c index 8e93953f73..f75ec848b5 100644 --- a/src/feature/dircommon/consdiff.c +++ b/src/feature/dircommon/consdiff.c @@ -530,10 +530,12 @@ typedef struct router_id_iterator_t { cdline_t hash; } router_id_iterator_t; +#ifndef COCCI /** * Initializer for a router_id_iterator_t. */ #define ROUTER_ID_ITERATOR_INIT { { NULL, 0 }, { NULL, 0 } } +#endif /** Given an index *<b>idxp</b> into the consensus at <b>cons</b>, advance * the index to the next router line ("r ...") in the consensus, or to |