diff options
Diffstat (limited to 'agent/call-pinentry.c')
-rw-r--r-- | agent/call-pinentry.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/agent/call-pinentry.c b/agent/call-pinentry.c index ea18d43dd..86792d8d7 100644 --- a/agent/call-pinentry.c +++ b/agent/call-pinentry.c @@ -410,6 +410,8 @@ start_pinentry (ctrl_t ctrl) int pinentry_active_p (ctrl_t ctrl, int waitseconds) { + (void)ctrl; + if (waitseconds > 0) { pth_event_t evt; @@ -935,6 +937,8 @@ agent_show_message (ctrl_t ctrl, const char *desc, const char *ok_btn) static void * popup_message_thread (void *arg) { + (void)arg; + /* We use the --one-button hack instead of the MESSAGE command to allow the use of old Pinentries. Those old Pinentries will then show an additional Cancel button but that is mostly a visual @@ -1008,6 +1012,8 @@ agent_popup_message_stop (ctrl_t ctrl) int rc; pid_t pid; + (void)ctrl; + if (!popup_tid || !entry_ctx) { log_debug ("agent_popup_message_stop called with no active popup\n"); |