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;
|
||||
CoglRectangleMap *new_map;
|
||||
CoglTexture2D *new_tex;
|
||||
unsigned int map_width, map_height;
|
||||
unsigned int map_width = 0, map_height = 0;
|
||||
CoglBool ret;
|
||||
CoglRectangleMapEntry new_position;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user