mirror of https://github.com/openssl/openssl
APPS: remove duplicate definition of `trace_data_stack`
Note: It seems like the C compiler doesn't care about the duplicate. (The first definition is eight lines above.) The C++ compiler however didn't like it when I reused the tracing code snippets elsewhere. Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com> Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/22117)
This commit is contained in:
parent
10fe5e29ca
commit
46ea5486f3
|
@ -157,8 +157,6 @@ static void tracedata_free(tracedata *data)
|
|||
OPENSSL_free(data);
|
||||
}
|
||||
|
||||
static STACK_OF(tracedata) *trace_data_stack;
|
||||
|
||||
static void cleanup_trace(void)
|
||||
{
|
||||
sk_tracedata_pop_free(trace_data_stack, tracedata_free);
|
||||
|
|
Loading…
Reference in New Issue