From 6c0c91714c17da75d0386a48f7de7b558b3ec1a9 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Sun, 27 Feb 2005 16:23:41 +0000 Subject: silence warnings --- src/mesa/main/fbobject.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mesa') 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; -- cgit v1.2.3