diff options
author | Nick Mathewson <nickm@torproject.org> | 2016-06-02 09:09:37 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2016-06-11 10:11:54 -0400 |
commit | 80f1a2cbbdd0abd509711a5069f31855df5bcd79 (patch) | |
tree | 0500eb46d12dd6cf70d1a48e1c6206cb738a9bd7 /src/or/dircollate.c | |
parent | c3adbf755b0bb6f77488a268dbc4f2bdc0e59b01 (diff) | |
download | tor-80f1a2cbbdd0abd509711a5069f31855df5bcd79.tar.gz tor-80f1a2cbbdd0abd509711a5069f31855df5bcd79.zip |
Add the -Wextra-semi warning from clang, and fix the cases where it triggers
Diffstat (limited to 'src/or/dircollate.c')
-rw-r--r-- | src/or/dircollate.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/dircollate.c b/src/or/dircollate.c index 3f9d78f02d..756011b934 100644 --- a/src/or/dircollate.c +++ b/src/or/dircollate.c @@ -67,9 +67,9 @@ ddmap_entry_set_digests(ddmap_entry_t *ent, } HT_PROTOTYPE(double_digest_map, ddmap_entry_s, node, ddmap_entry_hash, - ddmap_entry_eq); + ddmap_entry_eq) HT_GENERATE2(double_digest_map, ddmap_entry_s, node, ddmap_entry_hash, - ddmap_entry_eq, 0.6, tor_reallocarray, tor_free_); + ddmap_entry_eq, 0.6, tor_reallocarray, tor_free_) /** Helper: add a single vote_routerstatus_t <b>vrs</b> to the collator * <b>dc</b>, indexing it by its RSA key digest, and by the 2-tuple of |