revert changes 4154 and 4155 as suggested by Martin Paljak

http://www.opensc-project.org/pipermail/opensc-devel/2010-March/013827.html


git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@4163 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
ludovic.rousseau 2010-03-28 14:13:32 +00:00
parent 425efc939a
commit 652ef326b4
2 changed files with 0 additions and 9 deletions

View File

@ -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) {

View File

@ -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 */