gnome-keyring r1450 - in trunk: . pkcs11/gck



Author: jeffcai
Date: Fri Jan  9 05:09:43 2009
New Revision: 1450
URL: http://svn.gnome.org/viewvc/gnome-keyring?rev=1450&view=rev

Log:
2009-01-09  Jeff Cai <jeff cai sun com>

    * pkcs11/gck/gck-module.c: (register_virtual_slot):
    The void function should not return a value.
    Fix #567121



Modified:
   trunk/ChangeLog
   trunk/pkcs11/gck/gck-module.c

Modified: trunk/pkcs11/gck/gck-module.c
==============================================================================
--- trunk/pkcs11/gck/gck-module.c	(original)
+++ trunk/pkcs11/gck/gck-module.c	Fri Jan  9 05:09:43 2009
@@ -214,7 +214,7 @@
 	g_assert (GCK_IS_MODULE (self));
 	g_assert (!g_hash_table_lookup (self->pv->virtual_slots_by_id, &(slot->slot_id)));
 	
-	return g_hash_table_insert (self->pv->virtual_slots_by_id, 
+	g_hash_table_insert (self->pv->virtual_slots_by_id, 
 	                            gck_util_ulong_alloc (slot->slot_id), slot);
 }
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]