diff options
author | NIIBE Yutaka <[email protected]> | 2017-02-16 02:49:37 +0000 |
---|---|---|
committer | NIIBE Yutaka <[email protected]> | 2017-02-16 02:49:37 +0000 |
commit | 7a666ccb44f43c4efbaa51c1ca16fc0b37c3399d (patch) | |
tree | a557e12e37a0d01c146809f0732dbb8d092e84ca /scd/app.c | |
parent | libdns: Workaround for bracketed numerical addresses. (diff) | |
download | gnupg-7a666ccb44f43c4efbaa51c1ca16fc0b37c3399d.tar.gz gnupg-7a666ccb44f43c4efbaa51c1ca16fc0b37c3399d.zip |
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 <[email protected]>
Diffstat (limited to '')
-rw-r--r-- | scd/app.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) { |