From 512be83138cc82233e8575f2ada5dc7d003d4d1a Mon Sep 17 00:00:00 2001 From: "ludovic.rousseau" Date: Sat, 6 Nov 2010 16:57:05 +0000 Subject: [PATCH] =?UTF-8?q?ctx.c:=20In=20function=20=E2=80=98sc=5Fctx=5Fde?= =?UTF-8?q?tect=5Freaders=E2=80=99:=20ctx.c:548:=20warning:=20=E2=80=98r?= =?UTF-8?q?=E2=80=99=20may=20be=20used=20uninitialized=20in=20this=20funct?= =?UTF-8?q?ion?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@4862 c6295689-39f2-0310-b995-f0e70906c6a9 --- src/libopensc/ctx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libopensc/ctx.c b/src/libopensc/ctx.c index 1b267095..30b5c061 100644 --- a/src/libopensc/ctx.c +++ b/src/libopensc/ctx.c @@ -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);