diff options
author | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2010-10-01 14:56:28 +0200 |
---|---|---|
committer | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2010-10-01 15:29:42 +0200 |
commit | 0c82592a9922d7b5c54ecf9ab98328725e8acb3d (patch) | |
tree | b9fc96f094f397b57f234d4bf1472d6c3d4eceee /tests | |
parent | 462c9a1cd06b5ef9af7e348eef6a27584b98eff2 (diff) | |
download | lasso-0c82592a9922d7b5c54ecf9ab98328725e8acb3d.tar.gz lasso-0c82592a9922d7b5c54ecf9ab98328725e8acb3d.tar.xz lasso-0c82592a9922d7b5c54ecf9ab98328725e8acb3d.zip |
[Tests] add annotation to remove compiler warnings
Diffstat (limited to 'tests')
-rw-r--r-- | tests/perfs.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/tests/perfs.c b/tests/perfs.c index 023f6991..17d2795b 100644 --- a/tests/perfs.c +++ b/tests/perfs.c @@ -46,7 +46,7 @@ char* create_authn_response_msg(char *query); } \ } -void create_authn_request(LassoLogin *sp_login, LassoLogin *idp_login) +void create_authn_request(LassoLogin *sp_login, G_GNUC_UNUSED LassoLogin *idp_login) { check_good_rc(lasso_login_init_authn_request(sp_login, NULL, LASSO_HTTP_METHOD_REDIRECT)); @@ -62,7 +62,7 @@ process_authn_request(LassoLogin *sp_login, LassoLogin *idp_login) } void -create_authn_response(LassoLogin *sp_login, LassoLogin *idp_login) +create_authn_response(G_GNUC_UNUSED LassoLogin *sp_login, LassoLogin *idp_login) { if (LASSO_SAMLP2_RESPONSE(idp_login->parent.response)->Assertion) { g_object_unref(LASSO_SAMLP2_RESPONSE(idp_login->parent.response)->Assertion->data); @@ -122,8 +122,7 @@ main(int argc, char *argv[]) { LassoServer *sp_server, *idp_server; LassoLogin *sp_login, *idp_login; - int i, n; - char *authn_response_msg; + int n; lasso_init(); |