raster pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=9d5483963afc185dbda2f66a27a970c4116be778

commit 9d5483963afc185dbda2f66a27a970c4116be778
Author: Carsten Haitzler (Rasterman) <ras...@rasterman.com>
Date:   Tue Nov 25 17:11:18 2014 +0900

    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
---
 src/modules/tiling/window_tree.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/modules/tiling/window_tree.c b/src/modules/tiling/window_tree.c
index 7484e47..fc7333b 100644
--- a/src/modules/tiling/window_tree.c
+++ b/src/modules/tiling/window_tree.c
@@ -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;
 

-- 


Reply via email to