From b3f717037dcba37b4ac32c9ec17061781414a8ca Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Fri, 24 Jan 2003 21:38:19 +0000 Subject: silence some warnings --- src/mesa/main/texstore.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/mesa/main/texstore.c b/src/mesa/main/texstore.c index 64568a9e690..f1c0a0a770d 100644 --- a/src/mesa/main/texstore.c +++ b/src/mesa/main/texstore.c @@ -1,10 +1,10 @@ -/* $Id: texstore.c,v 1.49 2002/12/03 00:05:48 brianp Exp $ */ +/* $Id: texstore.c,v 1.50 2003/01/24 21:38:19 brianp Exp $ */ /* * Mesa 3-D graphics library * Version: 5.1 * - * Copyright (C) 1999-2002 Brian Paul All Rights Reserved. + * Copyright (C) 1999-2003 Brian Paul All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), @@ -1896,8 +1896,8 @@ _mesa_generate_mipmap(GLcontext *ctx, GLenum target, { const struct gl_texture_image *srcImage; const struct gl_texture_format *convertFormat; - const GLubyte *srcData; - GLubyte *dstData; + const GLubyte *srcData = NULL; + GLubyte *dstData = NULL; GLint level, maxLevels; ASSERT(texObj); -- cgit v1.2.3