diff options
| author | Nalin Dahyabhai <nalin.dahyabhai@pobox.com> | 2008-04-02 18:40:12 -0400 |
|---|---|---|
| committer | Nalin Dahyabhai <nalin.dahyabhai@pobox.com> | 2008-04-02 18:40:12 -0400 |
| commit | f499e75251c463f2d736b19b60daec49a32b6faf (patch) | |
| tree | 763ace72c18e4622300a438d66071a671d95f6a5 /src/plugin.c | |
| parent | bfe49423f8833d96c45ed0b38670e7f04b1ed6c0 (diff) | |
| download | slapi-nis-f499e75251c463f2d736b19b60daec49a32b6faf.tar.gz slapi-nis-f499e75251c463f2d736b19b60daec49a32b6faf.tar.xz slapi-nis-f499e75251c463f2d736b19b60daec49a32b6faf.zip | |
- warning cleanups
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 |
