[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnurl] 09/163: stub_gssapi: fix numerous 'unused parameter
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnurl] 09/163: stub_gssapi: fix numerous 'unused parameter' warnings |
Date: |
Sun, 05 Aug 2018 12:35:35 +0200 |
This is an automated email from the git hooks/post-receive script.
ng0 pushed a commit to branch master
in repository gnurl.
commit a1c02ac8175a211cf4b39a49c878823203d88309
Author: Daniel Stenberg <address@hidden>
AuthorDate: Fri May 18 00:06:59 2018 +0200
stub_gssapi: fix numerous 'unused parameter' warnings
follow-up to d9e92fd9fd1d
---
tests/libtest/stub_gssapi.c | 52 +++++++++++++++++++++++++++++++++++++++++++--
1 file changed, 50 insertions(+), 2 deletions(-)
diff --git a/tests/libtest/stub_gssapi.c b/tests/libtest/stub_gssapi.c
index 883cc1900..aaa7796b3 100644
--- a/tests/libtest/stub_gssapi.c
+++ b/tests/libtest/stub_gssapi.c
@@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 2017, Daniel Stenberg, <address@hidden>, et al.
+ * Copyright (C) 2017-2018, Daniel Stenberg, <address@hidden>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -82,6 +82,12 @@ OM_uint32 gss_init_sec_context(OM_uint32 *min,
const char *creds = NULL;
gss_ctx_id_t ctx = NULL;
+ (void)initiator_cred_handle;
+ (void)mech_type;
+ (void)time_req;
+ (void)input_chan_bindings;
+ (void)actual_mech_type;
+
if(!min)
return GSS_S_FAILURE;
@@ -221,6 +227,8 @@ OM_uint32 gss_delete_sec_context(OM_uint32 *min,
gss_ctx_id_t *context_handle,
gss_buffer_t output_token)
{
+ (void)output_token;
+
if(!min)
return GSS_S_FAILURE;
@@ -256,6 +264,7 @@ OM_uint32 gss_import_name(OM_uint32 *min,
gss_name_t *output_name)
{
char *name = NULL;
+ (void)input_name_type;
if(!min)
return GSS_S_FAILURE;
@@ -297,6 +306,7 @@ OM_uint32 gss_display_status(OM_uint32 *min,
gss_buffer_t status_string)
{
const char maj_str[] = "Stub GSS error";
+ (void)mech_type;
if(min)
*min = 0;
@@ -337,6 +347,10 @@ OM_uint32 gss_display_name(OM_uint32 *min,
gss_buffer_t output_name_buffer,
gss_OID *output_name_type)
{
+ (void)min;
+ (void)input_name;
+ (void)output_name_buffer;
+ (void)output_name_type;
return GSS_S_FAILURE;
}
@@ -350,6 +364,15 @@ OM_uint32 gss_inquire_context(OM_uint32 *min,
int *locally_initiated,
int *open_context)
{
+ (void)min;
+ (void)context_handle;
+ (void)src_name;
+ (void)targ_name;
+ (void)lifetime_rec;
+ (void)mech_type;
+ (void)ctx_flags;
+ (void)locally_initiated;
+ (void)open_context;
return GSS_S_FAILURE;
}
@@ -361,6 +384,13 @@ OM_uint32 gss_wrap(OM_uint32 *min,
int *conf_state,
gss_buffer_t output_message_buffer)
{
+ (void)min;
+ (void)context_handle;
+ (void)conf_req_flag;
+ (void)qop_req;
+ (void)input_message_buffer;
+ (void)conf_state;
+ (void)output_message_buffer;
return GSS_S_FAILURE;
}
@@ -371,6 +401,12 @@ OM_uint32 gss_unwrap(OM_uint32 *min,
int *conf_state,
gss_qop_t *qop_state)
{
+ (void)min;
+ (void)context_handle;
+ (void)input_message_buffer;
+ (void)output_message_buffer;
+ (void)conf_state;
+ (void)qop_state;
return GSS_S_FAILURE;
}
@@ -382,6 +418,13 @@ OM_uint32 gss_seal(OM_uint32 *min,
int *conf_state,
gss_buffer_t output_message_buffer)
{
+ (void)min;
+ (void)context_handle;
+ (void)conf_req_flag;
+ (void)qop_req;
+ (void)input_message_buffer;
+ (void)conf_state;
+ (void)output_message_buffer;
return GSS_S_FAILURE;
}
@@ -392,6 +435,11 @@ OM_uint32 gss_unseal(OM_uint32 *min,
int *conf_state,
int *qop_state)
{
+ (void)min;
+ (void)context_handle;
+ (void)input_message_buffer;
+ (void)output_message_buffer;
+ (void)conf_state;
+ (void)qop_state;
return GSS_S_FAILURE;
}
-
--
To stop receiving notification emails like this one, please contact
address@hidden
- [GNUnet-SVN] [gnurl] branch master updated (cb5937f5c -> 2a23ac742), gnunet, 2018/08/05
- [GNUnet-SVN] [gnurl] 03/163: rand: fix typo, gnunet, 2018/08/05
- [GNUnet-SVN] [gnurl] 02/163: schannel: disable manual verify if APIs not available, gnunet, 2018/08/05
- [GNUnet-SVN] [gnurl] 12/163: checksrc: fix too long line, gnunet, 2018/08/05
- [GNUnet-SVN] [gnurl] 04/163: schannel_verify: fix build for non-schannel, gnunet, 2018/08/05
- [GNUnet-SVN] [gnurl] 07/163: openssl: acknowledge --tls-max for default version too, gnunet, 2018/08/05
- [GNUnet-SVN] [gnurl] 13/163: curl_fnmatch: only allow two asterisks for matching, gnunet, 2018/08/05
- [GNUnet-SVN] [gnurl] 09/163: stub_gssapi: fix numerous 'unused parameter' warnings,
gnunet <=
- [GNUnet-SVN] [gnurl] 10/163: examples/progressfunc: make it build on older libcurls, gnunet, 2018/08/05
- [GNUnet-SVN] [gnurl] 01/163: schannel: disable client cert option if APIs not available, gnunet, 2018/08/05
- [GNUnet-SVN] [gnurl] 05/163: tests/libtest/Makefile: Do not unconditionally add gcc-specific flags, gnunet, 2018/08/05
- [GNUnet-SVN] [gnurl] 15/163: configure: replace AC_TRY_RUN with CURL_RUN_IFELSE, gnunet, 2018/08/05
- [GNUnet-SVN] [gnurl] 23/163: schannel: make CAinfo parsing resilient to CR/LF, gnunet, 2018/08/05
- [GNUnet-SVN] [gnurl] 35/163: schannel: add failf calls for client certificate failures, gnunet, 2018/08/05
- [GNUnet-SVN] [gnurl] 25/163: tftp: make sure error is zero terminated before printfing it, gnunet, 2018/08/05
- [GNUnet-SVN] [gnurl] 06/163: bump: start working on the pending 7.61.0, gnunet, 2018/08/05
- [GNUnet-SVN] [gnurl] 20/163: KNOWN_BUGS: mention the -O with %-encoded file names, gnunet, 2018/08/05
- [GNUnet-SVN] [gnurl] 22/163: CURLOPT_ACCEPT_ENCODING.3: add brotli and clarify a bit, gnunet, 2018/08/05