aboutsummaryrefslogtreecommitdiffstats
path: root/scd/app-p15.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--scd/app-p15.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scd/app-p15.c b/scd/app-p15.c
index 5310af84d..0e92edf56 100644
--- a/scd/app-p15.c
+++ b/scd/app-p15.c
@@ -708,7 +708,7 @@ select_and_read_record (app_t app, unsigned short efid, int recno,
unsigned char **buffer, size_t *buflen, int *r_sw)
{
gpg_error_t err;
- int sw;
+ int sw = 0;
if (r_sw)
*r_sw = 0x9000;