From 6770da1b08243979f23c9e316b86de74d6ac7ff8 Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Tue, 28 Jun 2011 04:49:36 +1000 Subject: Make it compile. --- linden/indra/libgcrypt/libgcrypt-1.2.2/src/sexp.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'linden') diff --git a/linden/indra/libgcrypt/libgcrypt-1.2.2/src/sexp.c b/linden/indra/libgcrypt/libgcrypt-1.2.2/src/sexp.c index 55ffc43..40c5b3f 100644 --- a/linden/indra/libgcrypt/libgcrypt-1.2.2/src/sexp.c +++ b/linden/indra/libgcrypt/libgcrypt-1.2.2/src/sexp.c @@ -212,7 +212,7 @@ gcry_sexp_create (gcry_sexp_t *retsexp, void *buffer, size_t length, { gcry_error_t errcode; gcry_sexp_t se; - volatile va_list dummy_arg_ptr = NULL; + volatile va_list dummy_arg_ptr; if (!retsexp) return gcry_error (GPG_ERR_INV_ARG); @@ -1392,7 +1392,7 @@ gcry_sexp_build_array (gcry_sexp_t *retsexp, size_t *erroff, following flag, however we have to pass it but can't initialize it as there is no portable way to do so. volatile is needed to suppress the compiler warning */ - volatile va_list dummy_arg_ptr = NULL; + volatile va_list dummy_arg_ptr; gcry_error_t rc; @@ -1410,7 +1410,7 @@ gcry_sexp_sscan (gcry_sexp_t *retsexp, size_t *erroff, following flag, however we have to pass it but can't initialize it as there is no portable way to do so. volatile is needed to suppress the compiler warning */ - volatile va_list dummy_arg_ptr = NULL; + volatile va_list dummy_arg_ptr; return sexp_sscan (retsexp, erroff, buffer, length, 0, dummy_arg_ptr, NULL); -- cgit v1.1