From: Brian Paul Date: Sun, 27 Feb 2005 16:23:41 +0000 (+0000) Subject: silence warnings X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6c0c91714c17da75d0386a48f7de7b558b3ec1a9;p=mesa.git silence warnings --- diff --git a/src/mesa/main/fbobject.c b/src/mesa/main/fbobject.c index 05ad1555950..3480beaa47d 100644 --- a/src/mesa/main/fbobject.c +++ b/src/mesa/main/fbobject.c @@ -408,8 +408,8 @@ test_framebuffer_completeness(GLcontext *ctx, struct gl_framebuffer *fb) { GLint i; - GLuint numImages, width, height; - GLenum intFormat; + GLuint numImages, width = 0, height = 0; + GLenum intFormat = GL_NONE; /* Set to COMPLETE status, then try to find reasons for being incomplete */ fb->Status = GL_FRAMEBUFFER_COMPLETE_EXT;