diff options
Diffstat (limited to 'src/plugin.c')
| -rw-r--r-- | src/plugin.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugin.c b/src/plugin.c index 8f412f1..bf4e979 100644 --- a/src/plugin.c +++ b/src/plugin.c @@ -114,7 +114,7 @@ plugin_shutdown(Slapi_PBlock *pb) static int plugin_state_init(struct plugin_state **lstate) { - int sockfd = -1, err, i, j; + int sockfd = -1, err, i; struct plugin_state *state = NULL; PLArenaPool *arena = NULL; struct sockaddr_in sin; @@ -147,7 +147,7 @@ plugin_state_init(struct plugin_state **lstate) * listeners, over both IPv4 and IPv6. */ state->n_listeners = 0; for (i = 0; i < 2; i++) { - int pf, type, fd, one, port, ret; + int pf, type, one, port, ret; const char *sock_desc; /* Before we do anything else, on our second trip through, make * sure that the first socket was created, because we'll need |
