From 7a666ccb44f43c4efbaa51c1ca16fc0b37c3399d Mon Sep 17 00:00:00 2001 From: NIIBE Yutaka Date: Thu, 16 Feb 2017 11:49:37 +0900 Subject: scd: Minor fixes to silence compiler warnings. * scd/app.c (app_reset): Initialize ERR. * scd/scdaemon.c (scd_kick_the_loop, handle_connections): Catch the return value. Signed-off-by: NIIBE Yutaka --- scd/app.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scd/app.c') diff --git a/scd/app.c b/scd/app.c index 29c9dadf4..b6f3a053e 100644 --- a/scd/app.c +++ b/scd/app.c @@ -139,7 +139,7 @@ check_application_conflict (const char *name, app_t app) gpg_error_t app_reset (app_t app, ctrl_t ctrl, int send_reset) { - gpg_error_t err; + gpg_error_t err = 0; if (send_reset) { -- cgit v1.2.3