From f499e75251c463f2d736b19b60daec49a32b6faf Mon Sep 17 00:00:00 2001 From: Nalin Dahyabhai Date: Wed, 2 Apr 2008 18:40:12 -0400 Subject: - warning cleanups --- src/plugin.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/plugin.c') 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 -- cgit