[ghashtable] add G_GNUC_UNUSED to remove unused static functions warning
This commit is contained in:
parent
2b90dcd503
commit
433ebd9a99
|
@ -34,7 +34,7 @@ static gboolean return_true(G_GNUC_UNUSED gpointer a, G_GNUC_UNUSED gpointer b,
|
|||
return TRUE;
|
||||
}
|
||||
|
||||
static void
|
||||
G_GNUC_UNUSED static void
|
||||
g_hash_table_remove_all (GHashTable *hash_table)
|
||||
{
|
||||
lasso_return_if_fail(hash_table != NULL);
|
||||
|
@ -46,7 +46,7 @@ g_hash_table_remove_all (GHashTable *hash_table)
|
|||
* (as this function is useful but new in 2.14) */
|
||||
|
||||
|
||||
static GList *
|
||||
G_GNUC_UNUSED static GList *
|
||||
g_hash_table_get_keys (GHashTable *hash_table)
|
||||
{
|
||||
GHashNode *node;
|
||||
|
@ -63,7 +63,7 @@ g_hash_table_get_keys (GHashTable *hash_table)
|
|||
return retval;
|
||||
}
|
||||
|
||||
static GList *
|
||||
G_GNUC_UNUSED static GList *
|
||||
g_hash_table_get_values (GHashTable *hash_table)
|
||||
{
|
||||
GHashNode *node;
|
||||
|
|
Loading…
Reference in New Issue