]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
Fix warning.
authorSimon Josefsson <simon@josefsson.org>
Fri, 14 Nov 2008 13:04:52 +0000 (14:04 +0100)
committerSimon Josefsson <simon@josefsson.org>
Fri, 14 Nov 2008 13:04:52 +0000 (14:04 +0100)
tests/resume.c

index f942d2a7834752ddf996e16c630f592512c2d0fd..2dd656fee1164fa33f9d972ff715d775ba5e3555 100644 (file)
@@ -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);