diff options
Diffstat (limited to 'common/http.c')
-rw-r--r-- | common/http.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/common/http.c b/common/http.c index 4dda27a2c..96e2a9e0b 100644 --- a/common/http.c +++ b/common/http.c @@ -304,6 +304,8 @@ http_register_tls_callback ( gpg_error_t (*cb) (http_t, void *, int) ) { #ifdef HTTP_USE_GNUTLS tls_callback = (gpg_error_t (*) (http_t, gnutls_session_t, int))cb; +#else + (void)cb; #endif } |