Remove dead code
ctx.c:550:25: warning: Value stored to 'count' is never read ctx->conf_blocks[count++] = blocks[0]; ^~~~~~~ git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@5153 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
parent
c8f5ab4fe5
commit
f4af7743f1
|
@ -547,7 +547,7 @@ static void process_config_file(sc_context_t *ctx, struct _sc_ctx_options *opts)
|
|||
if (strcmp(ctx->app_name, "default") != 0) {
|
||||
blocks = scconf_find_blocks(ctx->conf, NULL, "app", "default");
|
||||
if (blocks[0])
|
||||
ctx->conf_blocks[count++] = blocks[0];
|
||||
ctx->conf_blocks[count] = blocks[0];
|
||||
free(blocks);
|
||||
}
|
||||
/* Above we add 2 blocks at most, but conf_blocks has 3 elements,
|
||||
|
|
Loading…
Reference in New Issue