From: Brian Paul Date: Wed, 22 Jan 2014 18:02:28 +0000 (-0800) Subject: mesa: initialize "is_layered" variable to silence warning X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5306ee736ebcce0c1cf899589c2344acdedc2162;p=mesa.git mesa: initialize "is_layered" variable to silence warning Reviewed-by: Marek Olšák --- diff --git a/src/mesa/main/fbobject.c b/src/mesa/main/fbobject.c index dc7184ad42a..943f40bd90a 100644 --- a/src/mesa/main/fbobject.c +++ b/src/mesa/main/fbobject.c @@ -880,7 +880,7 @@ _mesa_test_framebuffer_completeness(struct gl_context *ctx, /* Covers max_layer_count, is_layered, and layer_tex_target */ bool layer_info_valid = false; GLuint max_layer_count = 0, att_layer_count; - bool is_layered; + bool is_layered = false; GLenum layer_tex_target = 0; assert(_mesa_is_user_fbo(fb));