summaryrefslogtreecommitdiff
path: root/src/gtkext
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2019-01-02 18:54:33 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2019-01-02 18:54:33 (GMT)
commit5db9effac12d781f179e329ea138fb531a5ae2a0 (patch)
tree9420cb1fbf2ae5a47f1b4b2d09c13ca582eebf26 /src/gtkext
parentf16787410dd6eaf48df986644d0c3ac2b021748b (diff)
Got ride of some uninitialized variable usages.
Diffstat (limited to 'src/gtkext')
-rw-r--r--src/gtkext/tiledgrid.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gtkext/tiledgrid.c b/src/gtkext/tiledgrid.c
index 577550d..0256563 100644
--- a/src/gtkext/tiledgrid.c
+++ b/src/gtkext/tiledgrid.c
@@ -543,6 +543,11 @@ static grid_tile_t *split_tile(grid_tile_t **tile, const char *path, char endpoi
new = create_inter_tile((*tile)->parent, true, result, *tile);
break;
+ default:
+ assert(false);
+ new = NULL;
+ break;
+
}
/* Connexions */