From 330148bef17a39075a0af5e446c9502bf3a225ff Mon Sep 17 00:00:00 2001 From: Daiki Ueno Date: Wed, 22 May 2019 16:10:01 +0200 Subject: [PATCH] build: Suppress compiler warning Remove unused "global" variable. --- p11-kit/proxy.c | 1 - 1 file changed, 1 deletion(-) diff --git a/p11-kit/proxy.c b/p11-kit/proxy.c index a9c7055d7..643bf4e9a 100644 --- a/p11-kit/proxy.c +++ b/p11-kit/proxy.c @@ -95,7 +95,6 @@ typedef struct _State { } State; static State *all_instances = NULL; -static State global = { { { { -1, -1 }, NULL, }, }, NULL, NULL, NULL, FIRST_HANDLE, NULL }; #define PROXY_VALID(px) ((px) && (px)->forkid == p11_forkid) #define PROXY_FORKED(px) ((px) && (px)->forkid != p11_forkid)