diff options
Diffstat (limited to 'src/or/circuitmux_ewma.c')
-rw-r--r-- | src/or/circuitmux_ewma.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/or/circuitmux_ewma.c b/src/or/circuitmux_ewma.c index 82ad5c7413..c280bf4ab0 100644 --- a/src/or/circuitmux_ewma.c +++ b/src/or/circuitmux_ewma.c @@ -265,7 +265,6 @@ ewma_alloc_circ_data(circuitmux_t *cmux, cell_direction_t direction, unsigned int cell_count) { - ewma_policy_data_t *pol = NULL; ewma_policy_circ_data_t *cdata = NULL; tor_assert(cmux); @@ -276,8 +275,6 @@ ewma_alloc_circ_data(circuitmux_t *cmux, /* Shut the compiler up */ tor_assert(cell_count == cell_count); - pol = TO_EWMA_POL_DATA(pol_data); - cdata = tor_malloc_zero(sizeof(*cdata)); cdata->_base.magic = EWMA_POL_CIRC_DATA_MAGIC; cdata->circ = circ; @@ -309,13 +306,11 @@ ewma_free_circ_data(circuitmux_t *cmux, circuitmux_policy_circ_data_t *pol_circ_data) { - ewma_policy_data_t *pol = NULL; ewma_policy_circ_data_t *cdata = NULL; tor_assert(cmux); tor_assert(circ); tor_assert(pol_data); - pol = TO_EWMA_POL_DATA(pol_data); if (!pol_circ_data) return; |