diff options
Diffstat (limited to 'src/engine-gpgsm.c')
| -rw-r--r-- | src/engine-gpgsm.c | 9 | 
1 files changed, 9 insertions, 0 deletions
| diff --git a/src/engine-gpgsm.c b/src/engine-gpgsm.c index 81e8fab0..1cf50467 100644 --- a/src/engine-gpgsm.c +++ b/src/engine-gpgsm.c @@ -185,6 +185,8 @@ close_notify_handler (int fd, void *opaque)  static gpgme_error_t  default_inq_cb (engine_gpgsm_t gpgsm, const char *line)  { +  (void)gpgsm; +    if (!strncmp (line, "PINENTRY_LAUNCHED", 17) && (line[17]==' '||!line[17]))      {        _gpgme_allow_set_foreground_window ((pid_t)strtoul (line+17, NULL, 10)); @@ -660,6 +662,9 @@ gpgsm_clear_fd (engine_gpgsm_t gpgsm, fd_type_t fd_type)        _gpgme_io_close (gpgsm->message_cb.fd);        break;      } +#else +  (void)gpgsm; +  (void)fd_type;  #endif  } @@ -1133,6 +1138,8 @@ gpgsm_delete (void *engine, gpgme_key_t key, int allow_secret)    char *line;    int length = 8;	/* "DELKEYS " */ +  (void)allow_secret; +    if (!fpr)      return gpg_error (GPG_ERR_INV_VALUE); @@ -1816,6 +1823,8 @@ gpgsm_sign (void *engine, gpgme_data_t in, gpgme_data_t out,    int i;    gpgme_key_t key; +  (void)use_textmode; +    if (!gpgsm)      return gpg_error (GPG_ERR_INV_VALUE); | 
