[libgnome-keyring] Don't assert on va_list, which isn't necessarily a pointer.
- From: Stefan Walter <stefw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgnome-keyring] Don't assert on va_list, which isn't necessarily a pointer.
- Date: Fri, 19 Mar 2010 23:15:34 +0000 (UTC)
commit 7ac67bc91088b9c38351b196f47e4b82fb6af3b8
Author: Alexander Sack <asac jwsdot com>
Date: Fri Mar 19 23:14:45 2010 +0000
Don't assert on va_list, which isn't necessarily a pointer.
Using g_assert((va_list) something) isnt portable.
Fixes bug #612127
library/gnome-keyring.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/library/gnome-keyring.c b/library/gnome-keyring.c
index 95e1509..88bdf27 100644
--- a/library/gnome-keyring.c
+++ b/library/gnome-keyring.c
@@ -4567,7 +4567,6 @@ find_password_va (const GnomeKeyringPasswordSchema* schema, va_list va,
GkrOperation *op;
g_assert (schema);
- g_assert (va);
g_assert (callback);
attributes = schema_attribute_list_va (schema, va);
@@ -4695,7 +4694,6 @@ delete_password_va (const GnomeKeyringPasswordSchema* schema, va_list va,
GkrOperation *op;
g_assert (schema);
- g_assert (va);
g_assert (callback);
attributes = schema_attribute_list_va (schema, va);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]