diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2019-01-02 18:54:33 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2019-01-02 18:54:33 (GMT) |
commit | 5db9effac12d781f179e329ea138fb531a5ae2a0 (patch) | |
tree | 9420cb1fbf2ae5a47f1b4b2d09c13ca582eebf26 /src/gtkext | |
parent | f16787410dd6eaf48df986644d0c3ac2b021748b (diff) |
Got ride of some uninitialized variable usages.
Diffstat (limited to 'src/gtkext')
-rw-r--r-- | src/gtkext/tiledgrid.c | 5 |
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 */ |