mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-22 22:41:30 +03:00
Lose redundant variable.
Ensure name_t is used in tree_delete_node_internal() svn path=/trunk/netsurf/; revision=7609
This commit is contained in:
parent
2730814c27
commit
73a89e8a0f
4
Makefile
4
Makefile
@ -162,6 +162,10 @@ else
|
||||
endif
|
||||
endif
|
||||
|
||||
# Hackiness for scan-build
|
||||
export CCC_CC := $(CC)
|
||||
CC := /home/jmb/llvm/tools/clang/utils/ccc-analyzer
|
||||
|
||||
OBJROOT = build-$(HOST)-$(TARGET)$(SUBTARGET)
|
||||
|
||||
# ----------------------------------------------------------------------------
|
||||
|
@ -166,11 +166,10 @@ void tree_handle_node_element_changed(struct tree *tree, struct node_element *el
|
||||
*/
|
||||
void tree_recalculate_node(struct tree *tree, struct node *node, bool recalculate_sizes) {
|
||||
struct node_element *element;
|
||||
int width, height;
|
||||
int height;
|
||||
|
||||
assert(node);
|
||||
|
||||
width = node->box.width;
|
||||
height = node->box.height;
|
||||
node->box.width = 0;
|
||||
node->box.height = 0;
|
||||
@ -969,7 +968,7 @@ void tree_delete_node_internal(struct tree *tree, struct node *node, bool siblin
|
||||
urldb_delete_cookie(
|
||||
domain_t,
|
||||
path_t,
|
||||
e->text);
|
||||
name_t);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user