summaryrefslogtreecommitdiff
path: root/p11-kit
diff options
context:
space:
mode:
authorDaiki Ueno <dueno@redhat.com>2019-05-22 16:10:01 +0200
committerDaiki Ueno <dueno@redhat.com>2019-05-22 16:10:01 +0200
commit330148bef17a39075a0af5e446c9502bf3a225ff (patch)
tree195e6e2c6084e5d02fac875de004b9caf89d41b6 /p11-kit
parent0eb1f6782c5315fc6b46861bc9f92a765e229e14 (diff)
build: Suppress compiler warning
Remove unused "global" variable.
Diffstat (limited to 'p11-kit')
-rw-r--r--p11-kit/proxy.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/p11-kit/proxy.c b/p11-kit/proxy.c
index a9c7055..643bf4e 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)