summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2008-11-14 14:04:52 +0100
committerSimon Josefsson <simon@josefsson.org>2008-11-14 14:04:52 +0100
commit16130e32515efe0bd3b2a5554a2a10639a03d5cd (patch)
tree0481a6cb9422254d3793bbc1476a3b5b1144fe15 /tests
parentc03be16a0376bfb9e920f63795e63f44b46cb637 (diff)
downloadgnutls-16130e32515efe0bd3b2a5554a2a10639a03d5cd.tar.gz
Fix warning.
Diffstat (limited to 'tests')
-rw-r--r--tests/resume.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/resume.c b/tests/resume.c
index f942d2a783..2dd656fee1 100644
--- a/tests/resume.c
+++ b/tests/resume.c
@@ -331,6 +331,8 @@ global_stop (void)
void
server (void)
{
+ size_t t;
+
/* this must be called once in the program, it is mostly for the server.
*/
gnutls_global_init ();
@@ -348,8 +350,6 @@ server (void)
wrap_db_init ();
}
- int t;
-
for (t = 0; t < 2; t++)
{
client_len = sizeof (sa_cli);