From df62a037b00ca24deceb74d3ea0d26bdc94c4194 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Wed, 14 Jan 2009 15:04:28 +0000 Subject: [PATCH] Fix compile warning for a possible uninitialized variable --- clutter/glx/clutter-glx-texture-pixmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clutter/glx/clutter-glx-texture-pixmap.c b/clutter/glx/clutter-glx-texture-pixmap.c index 0dfe23941..ecc6e8dd9 100644 --- a/clutter/glx/clutter-glx-texture-pixmap.c +++ b/clutter/glx/clutter-glx-texture-pixmap.c @@ -320,7 +320,7 @@ create_cogl_texture (ClutterTexture *texture, CoglHandle handle; gboolean using_rectangle; GLint gl_format; - CoglPixelFormat cogl_format; + CoglPixelFormat cogl_format = COGL_PIXEL_FORMAT_RGBA_8888; guint depth; g_object_get (G_OBJECT (texture_glx), "pixmap-depth", &depth, NULL);