From: Simon Josefsson Date: Tue, 18 Jan 2005 16:33:21 +0000 (+0000) Subject: Fix warning. X-Git-Tag: gnutls_1_1_23~7 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=85d4e21cdc9c3809ea3bc387de017c724ef7eb42;p=thirdparty%2Fgnutls.git Fix warning. --- diff --git a/lib/gnutls_x509.c b/lib/gnutls_x509.c index 78cbbce28e..87f64e48a4 100644 --- a/lib/gnutls_x509.c +++ b/lib/gnutls_x509.c @@ -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 + diff --git a/src/errcodes.c b/src/errcodes.c index c521e0c524..b39534fc48 100644 --- a/src/errcodes.c +++ b/src/errcodes.c @@ -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;