summaryrefslogtreecommitdiffstats
path: root/lasso/xml/xml.c
diff options
context:
space:
mode:
authorBenjamin Dauvergne <bdauvergne@entrouvert.com>2013-09-08 21:18:55 +0200
committerBenjamin Dauvergne <bdauvergne@entrouvert.com>2013-09-08 21:31:52 +0200
commitb6faccae0fabfd7e47fc6b86a06fc78367446526 (patch)
tree0b7b140cae2b422f62ea5039d00cbb4ef5c7bfcc /lasso/xml/xml.c
parent72e1558b2149df0057cfbc8fc697e7d04d22a5a9 (diff)
downloadlasso-b6faccae0fabfd7e47fc6b86a06fc78367446526.tar.gz
lasso-b6faccae0fabfd7e47fc6b86a06fc78367446526.tar.xz
lasso-b6faccae0fabfd7e47fc6b86a06fc78367446526.zip
fix warnings about unused but set variables
Diffstat (limited to 'lasso/xml/xml.c')
-rw-r--r--lasso/xml/xml.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/lasso/xml/xml.c b/lasso/xml/xml.c
index b7b29f95..e3ac905d 100644
--- a/lasso/xml/xml.c
+++ b/lasso/xml/xml.c
@@ -1745,7 +1745,6 @@ lasso_node_impl_init_from_xml(LassoNode *node, xmlNode *xmlnode)
/* Collect signature parameters */
{
LassoSignatureMethod method = 0;
- LassoSignatureType type = 0;
xmlChar *private_key = NULL;
xmlChar *private_key_password = NULL;
xmlChar *certificate = NULL;
@@ -3253,7 +3252,7 @@ lasso_node_init_from_saml2_query_fields(LassoNode *node, char **query_fields, G_
static void
xmlDeclareNs(xmlNode *root_node, xmlNode *node)
{
- xmlNs *ns, *ns2;
+ xmlNs *ns;
xmlNode *t;
if (strcmp((char*)node->name, "Signature") == 0)
@@ -3261,7 +3260,7 @@ xmlDeclareNs(xmlNode *root_node, xmlNode *node)
for (ns = node->nsDef; ns; ns = ns->next) {
if (ns->prefix && strcmp((char*)ns->prefix, "xsi") != 0) {
- ns2 = xmlNewNs(root_node, ns->href, ns->prefix);
+ xmlNewNs(root_node, ns->href, ns->prefix);
}
}
for (t = node->children; t; t = t->next) {