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:
Matthias St. Pierre 2023-09-15 15:32:25 +02:00 committed by Pauli
parent 10fe5e29ca
commit 46ea5486f3
1 changed files with 0 additions and 2 deletions

View File

@ -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);