1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-03 22:56:33 +02:00

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 <gniibe@fsij.org>
This commit is contained in:
NIIBE Yutaka 2017-02-16 11:49:37 +09:00
parent a3509e12b6
commit 7a666ccb44
2 changed files with 6 additions and 4 deletions

View file

@ -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)
{