mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 11:32:04 +00:00
Fix compiler warnings
Initialize variables; GCC does not always catch all cases where the variables are used after being initialized, especially when it comes to out parameters.
This commit is contained in:
parent
c5dc9542d5
commit
838355afbd
@ -373,7 +373,7 @@ _cogl_atlas_reserve_space (CoglAtlas *atlas,
|
|||||||
CoglAtlasGetRectanglesData data;
|
CoglAtlasGetRectanglesData data;
|
||||||
CoglRectangleMap *new_map;
|
CoglRectangleMap *new_map;
|
||||||
CoglTexture2D *new_tex;
|
CoglTexture2D *new_tex;
|
||||||
unsigned int map_width, map_height;
|
unsigned int map_width = 0, map_height = 0;
|
||||||
CoglBool ret;
|
CoglBool ret;
|
||||||
CoglRectangleMapEntry new_position;
|
CoglRectangleMapEntry new_position;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user