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/map.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/map.c')
-rw-r--r-- | src/map.c | 15 |
1 files changed, 0 insertions, 15 deletions
@@ -76,7 +76,6 @@ static struct entry * map_data_find_map_entry(struct plugin_state *state, struct map *map, unsigned int key_len, const char *key) { - int i; struct entry *entry; if (map == NULL) { return NULL; @@ -107,7 +106,6 @@ static struct entry * map_data_find_map_entry_id(struct plugin_state *state, struct map *map, const char *id) { - int i; struct entry *entry; if (map == NULL) { return NULL; @@ -119,17 +117,6 @@ map_data_find_map_entry_id(struct plugin_state *state, } return NULL; } -static struct entry * -map_data_find_entry_id(struct plugin_state *state, - const char *domain_name, const char *map_name, - const char *id) -{ - return map_data_find_map_entry_id(state, - map_data_find_map(state, - domain_name, - map_name), - id); -} /* Query function: check if we have a record for the domain. Return that * information in "supported", and return TRUE unless we ran into internal @@ -275,7 +262,6 @@ map_data_unset_map(struct plugin_state *state, { struct domain *domain; struct map *map; - struct entry *entry, *next; int i; /* Check that we have a domain record that matches. */ domain = map_data_find_domain(state, domain_name); @@ -331,7 +317,6 @@ map_data_set_map(struct plugin_state *state, { struct domain *domain, *domains; struct map *map, *maps; - struct entry *entry, *next; int i; /* Locate the domain for this map. */ domain = NULL; |