From 875f40832b7fe58c9ce2f0ae4a0d368f4c5d32ae Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Wed, 30 Jul 2014 17:17:08 +0200 Subject: [PATCH] Restore not-unused code Clang was wrong on one instance, a value must be initialized to its NULL state before using any lasso_assign_ macro with it. Bug introduced in 4789e8d4d68eb. --- lasso/saml-2.0/profile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lasso/saml-2.0/profile.c b/lasso/saml-2.0/profile.c index 106145a4..465cbb27 100644 --- a/lasso/saml-2.0/profile.c +++ b/lasso/saml-2.0/profile.c @@ -1168,7 +1168,7 @@ lasso_saml20_profile_build_http_redirect(LassoProfile *profile, { char *query = NULL; int rc = 0; - LassoSignatureContext context; + LassoSignatureContext context = LASSO_SIGNATURE_CONTEXT_NONE; goto_cleanup_if_fail_with_rc (url != NULL, LASSO_PROFILE_ERROR_UNKNOWN_PROFILE_URL); /* if message is signed, remove XML signature, add query signature */