diff --git a/main.cpp b/main.cpp
index c259c8a..477f917 100644
--- a/main.cpp
+++ b/main.cpp
@@ -149,8 +149,6 @@ int main ()
fprintf (Fp_out_html, "
Results
\n");
- TiXmlElement * XEp_sub = XEp_main -> FirstChildElement ("b");
-
v_test_one_string (XEp_main, "/a/*[name()!='b']", "x");
v_test_one_string (XEp_main, "//b/@val", "123" );
diff --git a/node_set.cpp b/node_set.cpp
index c1c554c..098f3ef 100644
--- a/node_set.cpp
+++ b/node_set.cpp
@@ -337,11 +337,10 @@ static int i_compare_ptr_2_and_flag (
const void * vp_1, ///< Ptr to first element to compare
const void * vp_2) ///< Ptr to second element to compare
{
- const ptr_2_and_flag * p2afp_1, * p2afp_2;
+ const ptr_2_and_flag * p2afp_1;
int i_res;
p2afp_1 = (const ptr_2_and_flag *) vp_1;
- p2afp_2 = (const ptr_2_and_flag *) vp_2;
i_res = i_compare_node_in_tree (p2afp_1 -> XNp_root, (const TiXmlBase *) p2afp_1 -> vp_node, (const TiXmlBase *) p2afp_1 -> vp_node);
switch (i_res)
{
diff --git a/xpath_processor.cpp b/xpath_processor.cpp
index d8d3f81..12c27ff 100644
--- a/xpath_processor.cpp
+++ b/xpath_processor.cpp
@@ -1001,7 +1001,7 @@ void xpath_processor::v_execute_absolute_path (
if (o_with_rel)
{
int i_1, i_2, i_3;
- int i_bak_position, i_current, i_first, i_relative;
+ int i_current, i_first, i_relative;
TIXML_STRING S_lit;
// compute position of the first (absolute) step
@@ -1022,7 +1022,6 @@ void xpath_processor::v_execute_absolute_path (
i_first = i_relative;
}
// i_first = i_3 - 1;
- i_bak_position = as_action_store . i_get_position ();
as_action_store . v_set_position (i_first);
if (o_everywhere)
i_relative_action = -1;