summaryrefslogtreecommitdiffstats
path: root/src/map.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map.c')
-rw-r--r--src/map.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/map.c b/src/map.c
index c26d338..0c08625 100644
--- a/src/map.c
+++ b/src/map.c
@@ -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;