diff options
| author | Werner Koch <[email protected]> | 2008-10-20 13:53:23 +0000 |
|---|---|---|
| committer | Werner Koch <[email protected]> | 2008-10-20 13:53:23 +0000 |
| commit | 0a5f7424660e404e5fd0361b9331d154acf01d6c (patch) | |
| tree | b84fb5a994045e12eb326441d8c924094bd915cd /agent/call-pinentry.c | |
| parent | Fix a bug in estream_snprintf. Found by a failed t-gettime under Windows. (diff) | |
| download | gnupg-0a5f7424660e404e5fd0361b9331d154acf01d6c.tar.gz gnupg-0a5f7424660e404e5fd0361b9331d154acf01d6c.zip | |
Marked all unused args on non-W32 platforms.
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"); |
