summaryrefslogtreecommitdiff
path: root/src/mesa
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2003-01-24 21:38:19 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2003-01-24 21:38:19 +0000
commitb3f717037dcba37b4ac32c9ec17061781414a8ca (patch)
tree3b0a2734ccc53551b06f7c4367fabad6b45a91ed /src/mesa
parentd737ad52720f2c6b10ea02cef1e3c046e52bee15 (diff)
silence some warnings
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/main/texstore.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mesa/main/texstore.c b/src/mesa/main/texstore.c
index 64568a9e69..f1c0a0a770 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);