Skip to content

Commit

Permalink
build: Suppress compiler warning
Browse files Browse the repository at this point in the history
Remove unused "global" variable.
  • Loading branch information
ueno committed May 22, 2019
1 parent 0eb1f67 commit 330148b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion p11-kit/proxy.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 330148b

Please sign in to comment.