diff --git a/src/scconf/parse.c b/src/scconf/parse.c index af6c90f4..5e336d28 100644 --- a/src/scconf/parse.c +++ b/src/scconf/parse.c @@ -81,8 +81,6 @@ static scconf_item *scconf_item_find(scconf_parser * parser, const char *key) { scconf_item *item; - (void)key; - for (item = parser->block->items; item; item = item->next) { if (item->type == SCCONF_ITEM_TYPE_VALUE && strcasecmp(item->key, parser->key) == 0) { diff --git a/src/scconf/test-conf.c b/src/scconf/test-conf.c index 6fe697ca..edb0a171 100644 --- a/src/scconf/test-conf.c +++ b/src/scconf/test-conf.c @@ -31,8 +31,6 @@ static int ldap_cb(const scconf_context * config, const scconf_block * block, scconf_entry * entry, int depth) { - (void)depth; - scconf_entry ldap_entry[] = { {"ldaphost", SCCONF_STRING, SCCONF_VERBOSE, NULL, NULL}, @@ -61,9 +59,6 @@ static int ldap_cb(const scconf_context * config, const scconf_block * block, sc static int card_cb(const scconf_context * config, const scconf_block * block, scconf_entry * entry, int depth) { - (void)depth; - (void)entry; - char *str = scconf_list_strdup(block->name, " "); scconf_entry card_entry[] = { @@ -85,8 +80,6 @@ static int card_cb(const scconf_context * config, const scconf_block * block, sc static int write_cb(scconf_context * config, scconf_block * block, scconf_entry * entry, int depth) { - (void)depth; - scconf_put_str(block, entry->name, "inside write_cb();"); scconf_item_add(config, block, NULL, SCCONF_ITEM_TYPE_COMMENT, NULL, "# commentN"); return 0; /* 0 for ok, 1 for error */