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/xml/saml_statement_abstract.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/xml/saml_statement_abstract.c')
-rw-r--r-- | lasso/xml/saml_statement_abstract.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/lasso/xml/saml_statement_abstract.c b/lasso/xml/saml_statement_abstract.c index 0480e44e..ea8afb74 100644 --- a/lasso/xml/saml_statement_abstract.c +++ b/lasso/xml/saml_statement_abstract.c @@ -46,11 +46,6 @@ /*****************************************************************************/ static void -instance_init(LassoSamlStatementAbstract *node) -{ -} - -static void class_init(LassoSamlStatementAbstractClass *klass) { LassoNodeClass *nclass = LASSO_NODE_CLASS(klass); @@ -75,7 +70,7 @@ lasso_saml_statement_abstract_get_type() NULL, sizeof(LassoSamlStatementAbstract), 0, - (GInstanceInitFunc) instance_init, + NULL, }; this_type = g_type_register_static(LASSO_TYPE_NODE, |