mirror of
https://github.com/rkd77/elinks.git
synced 2025-02-02 15:09:23 -05:00
pop_dom_state(): Drop unused left-over argument
This commit is contained in:
parent
ef5d5fc27a
commit
45861c68e1
@ -184,12 +184,11 @@ pop_dom_nodes(struct dom_stack *stack, enum dom_node_type type,
|
||||
|
||||
state = search_dom_stack(stack, type, string);
|
||||
if (state)
|
||||
pop_dom_state(stack, type, state);
|
||||
pop_dom_state(stack, state);
|
||||
}
|
||||
|
||||
void
|
||||
pop_dom_state(struct dom_stack *stack, enum dom_node_type type,
|
||||
struct dom_stack_state *target)
|
||||
pop_dom_state(struct dom_stack *stack, struct dom_stack_state *target)
|
||||
{
|
||||
struct dom_stack_state *state;
|
||||
unsigned int pos;
|
||||
|
@ -127,9 +127,7 @@ void pop_dom_nodes(struct dom_stack *stack, enum dom_node_type type,
|
||||
struct dom_string *string);
|
||||
|
||||
/* Pop all stack states until a specific state is reached. */
|
||||
void
|
||||
pop_dom_state(struct dom_stack *stack, enum dom_node_type type,
|
||||
struct dom_stack_state *target);
|
||||
void pop_dom_state(struct dom_stack *stack, struct dom_stack_state *target);
|
||||
|
||||
/* Visit each node in the tree rooted at @root pre-order */
|
||||
void walk_dom_nodes(struct dom_stack *stack, struct dom_node *root);
|
||||
|
@ -255,7 +255,7 @@ parse_sgml_document(struct dom_stack *stack, struct scanner *scanner)
|
||||
pstate = get_dom_stack_state_data(stack, state);
|
||||
copy_struct(&pstate->end_token, token);
|
||||
|
||||
pop_dom_state(stack, DOM_NODE_ELEMENT, state);
|
||||
pop_dom_state(stack, state);
|
||||
}
|
||||
}
|
||||
skip_scanner_token(scanner);
|
||||
|
Loading…
x
Reference in New Issue
Block a user