e - tiling module - silence warning (real possibility of an issue)
grand_parent couldbe used in an uninitialized state - this is right. it'd be garbage (not NULL). set to NULL always to be safe
This commit is contained in:
parent
93a125b7a2
commit
9d5483963a
|
@ -645,7 +645,7 @@ tiling_window_tree_node_change_pos(Window_Tree *node, int key)
|
|||
_tiling_window_tree_split_type_get(node->parent);
|
||||
|
||||
Window_Tree *root = node->parent,
|
||||
*grand_parent;
|
||||
*grand_parent = NULL;
|
||||
while(root->parent)
|
||||
root = root->parent;
|
||||
|
||||
|
|
Loading…
Reference in New Issue