diff options
| author | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2008-09-12 13:57:22 +0000 |
|---|---|---|
| committer | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2008-09-12 13:57:22 +0000 |
| commit | ae1f6a297c62a7fd0bcf33865629eb21ef1e87d5 (patch) | |
| tree | 603f6fd56afa65121efea79e07363215ca023ee9 /lasso/id-ff/identity.c | |
| parent | 61f2ccf37ada78617d0e5a5a69d4a7f7cd5b5657 (diff) | |
| download | lasso-ae1f6a297c62a7fd0bcf33865629eb21ef1e87d5.tar.gz lasso-ae1f6a297c62a7fd0bcf33865629eb21ef1e87d5.tar.xz lasso-ae1f6a297c62a7fd0bcf33865629eb21ef1e87d5.zip | |
* Remove warnings:
- remove unused parameter from private function signatures
- remove unused variable
- initialize variable potentially accessed uninitialized
- add G_GNUC_UNUSED if function is public or adhering to an interface, and a
parameter is unused.
- if ID-WSF is not compiled in, define stubs with G_GNUC_UNUSED on parameters.
The goal is to compile with -Werror.
Diffstat (limited to 'lasso/id-ff/identity.c')
| -rw-r--r-- | lasso/id-ff/identity.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lasso/id-ff/identity.c b/lasso/id-ff/identity.c index d1c4f567..9ef09322 100644 --- a/lasso/id-ff/identity.c +++ b/lasso/id-ff/identity.c @@ -289,7 +289,7 @@ lasso_identity_get_svc_md_ids(LassoIdentity *identity) static LassoNodeClass *parent_class = NULL; static void -add_childnode_from_hashtable(gchar *key, LassoNode *value, xmlNode *xmlnode) +add_childnode_from_hashtable(G_GNUC_UNUSED gchar *key, LassoNode *value, xmlNode *xmlnode) { xmlAddChild(xmlnode, lasso_node_get_xmlNode(LASSO_NODE(value), TRUE)); } @@ -303,7 +303,7 @@ add_text_childnode_from_list(gchar *value, xmlNode *xmlnode) #endif static xmlNode* -get_xmlNode(LassoNode *node, gboolean lasso_dump) +get_xmlNode(LassoNode *node, G_GNUC_UNUSED gboolean lasso_dump) { xmlNode *xmlnode; LassoIdentity *identity = LASSO_IDENTITY(node); |
