From: Brian Paul Date: Sun, 27 Feb 2005 16:23:41 +0000 (+0000) Subject: silence warnings X-Git-Tag: mesa-7.8~9566 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6c0c91714c17da75d0386a48f7de7b558b3ec1a9;p=platform%2Fupstream%2Fmesa.git silence warnings --- diff --git a/src/mesa/main/fbobject.c b/src/mesa/main/fbobject.c index 05ad155..3480bea 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;