]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
Fix warning.
authorSimon Josefsson <simon@josefsson.org>
Tue, 18 Jan 2005 16:33:21 +0000 (16:33 +0000)
committerSimon Josefsson <simon@josefsson.org>
Tue, 18 Jan 2005 16:33:21 +0000 (16:33 +0000)
lib/gnutls_x509.c
src/errcodes.c

index 78cbbce28e9c8d0acd5d12366941461c70299b74..87f64e48a46544c1687107c3bf91272bdb3c5ddc 100644 (file)
@@ -1,5 +1,5 @@
 /*
- *  Copyright (C) 2004 Free Software Foundation
+ *  Copyright (C) 2004, 2005 Free Software Foundation
  *  Copyright (C) 2002,2003 Nikos Mavroyanopoulos
  *
  *  This file is part of GNUTLS.
@@ -1313,7 +1313,7 @@ int gnutls_certificate_set_x509_trust(gnutls_certificate_credentials_t res,
                                      gnutls_x509_crt_t * ca_list,
                                      int ca_list_size)
 {
-    int ret, i, j, ret2;
+    int ret, i, ret2;
 
     res->x509_ca_list = gnutls_realloc_fast(res->x509_ca_list,
                                            (ca_list_size +
index c521e0c524a6f241234cd6a6b73f9bd1f9923145..b39534fc48ea42fc7ed2a8294ec570bdd2d53bd9 100644 (file)
@@ -18,7 +18,7 @@ static int compar(const void *_n1, const void *_n2)
     return strcmp(n1->name, n2->name);
 }
 
-int main()
+int main(int argc, char *argv[])
 {
     int i, j;
     const char *desc;