mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-13 06:33:44 +01:00
Fix another pointless stack-protector warning.
This is the same as we fixed in 39f4554687
.
This commit is contained in:
parent
762b799545
commit
ff08be56ac
@ -1625,7 +1625,7 @@ test_entry_guard_node_filter(void *arg)
|
|||||||
bridge_line_t *bl = NULL;
|
bridge_line_t *bl = NULL;
|
||||||
|
|
||||||
/* Initialize a bunch of node objects that are all guards. */
|
/* Initialize a bunch of node objects that are all guards. */
|
||||||
const int NUM = 7;
|
#define NUM 7
|
||||||
node_t *n[NUM];
|
node_t *n[NUM];
|
||||||
entry_guard_t *g[NUM];
|
entry_guard_t *g[NUM];
|
||||||
int i;
|
int i;
|
||||||
@ -1704,6 +1704,7 @@ test_entry_guard_node_filter(void *arg)
|
|||||||
done:
|
done:
|
||||||
guard_selection_free(gs);
|
guard_selection_free(gs);
|
||||||
tor_free(bl);
|
tor_free(bl);
|
||||||
|
#undef NUM
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
Loading…
Reference in New Issue
Block a user