From: Brian Paul Date: Fri, 24 Jan 2003 21:38:19 +0000 (+0000) Subject: silence some warnings X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b3f717037dcba37b4ac32c9ec17061781414a8ca;p=mesa.git silence some warnings --- 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);