[gnome-keyring] Don't assert on va_list
- From: Stefan Walter <stefw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-keyring] Don't assert on va_list
- Date: Fri, 19 Mar 2010 23:11:54 +0000 (UTC)
commit cf1d4b562409b278bf5f4336184a2e4b573ea4c5
Author: Michael Casadevall <mcasadevall ubuntu com>
Date: Fri Mar 19 23:10:59 2010 +0000
Don't assert on va_list
Remove an assertion on a va_list, which is invalid since va_lis is
not guaranteed to be a pointer. This also fixes an FTBFS on armel
since va_list on armel is a scalar.
Fixes bug #610997
pkcs11/gck/gck-sexp.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/pkcs11/gck/gck-sexp.c b/pkcs11/gck/gck-sexp.c
index a8d8ae0..b48c4d6 100644
--- a/pkcs11/gck/gck-sexp.c
+++ b/pkcs11/gck/gck-sexp.c
@@ -249,7 +249,6 @@ gck_sexp_get_childv (gcry_sexp_t sexp, va_list va)
const char *name;
g_assert (sexp);
- g_assert (va);
for(;;) {
name = va_arg (va, const char*);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]