Initialize out variables

Avoids a compiler warning with strict compilation flags.
This commit is contained in:
Emmanuele Bassi 2015-09-03 08:58:44 +01:00
parent afd7597f2d
commit ca5226513e

View File

@ -103,9 +103,9 @@ _cogl_driver_pixel_format_to_gl (CoglContext *context,
GLenum *out_gltype)
{
CoglPixelFormat required_format;
GLenum glintformat;
GLenum glintformat = 0;
GLenum glformat = 0;
GLenum gltype;
GLenum gltype = 0;
required_format = format;