Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,6 @@ int main ()

fprintf (Fp_out_html, "<h2>Results</h2>\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" );

Expand Down
3 changes: 1 addition & 2 deletions node_set.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down
3 changes: 1 addition & 2 deletions xpath_processor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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;
Expand Down