ctx.c: In function ‘sc_ctx_detect_readers’:

ctx.c:548: warning: ‘r’ may be used uninitialized in this function


git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@4862 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
ludovic.rousseau 2010-11-06 16:57:05 +00:00
parent 3ac5bb4ba1
commit 512be83138
1 changed files with 1 additions and 1 deletions

View File

@ -545,7 +545,7 @@ static void process_config_file(sc_context_t *ctx, struct _sc_ctx_options *opts)
int sc_ctx_detect_readers(sc_context_t *ctx)
{
int r;
int r = 0;
const struct sc_reader_driver *drv = ctx->reader_driver;
sc_mutex_lock(ctx, ctx->mutex);