From 46ea5486f34ff8c2fed67674da2a363bbd66691b Mon Sep 17 00:00:00 2001 From: "Matthias St. Pierre" Date: Fri, 15 Sep 2023 15:32:25 +0200 Subject: [PATCH] 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 Reviewed-by: Tom Cosgrove Reviewed-by: Paul Dale (Merged from https://github.com/openssl/openssl/pull/22117) --- apps/openssl.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/apps/openssl.c b/apps/openssl.c index dd41ac3a84..adf77096c7 100644 --- a/apps/openssl.c +++ b/apps/openssl.c @@ -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);