diff options
-rw-r--r-- | Makefile | 4 | ||||
-rw-r--r-- | desktop/tree.c | 5 |
2 files changed, 6 insertions, 3 deletions
@@ -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) # ---------------------------------------------------------------------------- diff --git a/desktop/tree.c b/desktop/tree.c index 83b56079f..ee0cfc3da 100644 --- a/desktop/tree.c +++ b/desktop/tree.c @@ -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); } } } |