diff options
author | Tim Rühsen <tim.ruehsen@gmx.de> | 2018-05-24 09:49:34 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2018-05-26 18:35:37 +0000 |
commit | 0f5d76ad336e3044c850b625df3af987625844ae (patch) | |
tree | 9dd204937ba95958619239b72570dc5387313364 /tests/tls-ext-register.c | |
parent | 76e5e8708cf045b9a79d413f97b3eb93710c5c44 (diff) | |
download | gnutls-0f5d76ad336e3044c850b625df3af987625844ae.tar.gz |
Fix warnings in test suite
Fixes:
tls-ext-register.c:238:11: warning: unused variable 'i' [-Wunused-variable]
record-retvals.c:118:14: warning: unused variable 'vers' [-Wunused-variable]
record-retvals.c:347:1: warning: label 'next' defined but not used [-Wunused-label]
alerts.c:71:14: warning: unused variable 'vers' [-Wunused-variable]
alerts.c:71:11: warning: unused variable 'i' [-Wunused-variable]
alerts.c:160:11: warning: unused variable 'i' [-Wunused-variable]
send-client-cert.c:176:6: warning: no previous prototype for 'start' [-Wmissing-prototypes]
tls-session-supplemental.c:186:6: warning: unused variable 'optval' [-Wunused-variable]
tls-session-supplemental.c:184:7: warning: unused variable 'topbuf' [-Wunused-variable]
tls-session-supplemental.c:183:6: warning: unused variable 'err' [-Wunused-variable]
x509self.c:211:6: warning: unused variable 'optval' [-Wunused-variable]
x509self.c:208:7: warning: unused variable 'topbuf' [-Wunused-variable]
x509self.c:207:6: warning: unused variable 'err' [-Wunused-variable]
Signed-off-by: Tim Rühsen <tim.ruehsen@gmx.de>
Diffstat (limited to 'tests/tls-ext-register.c')
-rw-r--r-- | tests/tls-ext-register.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/tls-ext-register.c b/tests/tls-ext-register.c index 15113a3e91..1eee470856 100644 --- a/tests/tls-ext-register.c +++ b/tests/tls-ext-register.c @@ -70,7 +70,7 @@ static int TLSEXT_TYPE_server_sent = 0; static int TLSEXT_TYPE_server_received = 0; static const unsigned char ext_data[] = -{ +{ 0xFE, 0xED }; @@ -235,7 +235,6 @@ static void server(int sd, const char *prio) gnutls_certificate_credentials_t serverx509cred; int ret; gnutls_session_t session; - unsigned i; /* this must be called once in the program */ |