summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorMatthias St. Pierre <matthias.st.pierre@ncp-e.com>2023-09-15 15:32:25 +0200
committerPauli <pauli@openssl.org>2023-09-18 09:06:47 +1000
commit46ea5486f34ff8c2fed67674da2a363bbd66691b (patch)
tree708a91be741e185a4cce020a0aecb29cfe877bb1 /apps
parent10fe5e29cad9a9dbaeda3cdc7c62470b21dd7d38 (diff)
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)
Diffstat (limited to 'apps')
-rw-r--r--apps/openssl.c2
1 files changed, 0 insertions, 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);