summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2012-01-26 08:16:33 -0700
committerBrian Paul <[email protected]>2012-01-26 08:16:33 -0700
commit88e7f56dd7130077494ff36b9765dd48cd3d4a91 (patch)
tree229ad8a9bc7f74a4ca4afb5678d988809c4c0ad4 /src/mesa
parent5ce741873954a40e482fa311ff35f53831356364 (diff)
swrast: silence uninitialized var warnings
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/swrast/s_span.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/swrast/s_span.c b/src/mesa/swrast/s_span.c
index 7ab60b1e514..ccdbe5f79c4 100644
--- a/src/mesa/swrast/s_span.c
+++ b/src/mesa/swrast/s_span.c
@@ -1052,8 +1052,8 @@ put_values(struct gl_context *ctx, struct gl_renderbuffer *rb,
GLuint count, const GLint x[], const GLint y[],
const void *values, const GLubyte *mask)
{
- gl_pack_ubyte_rgba_func pack_ubyte;
- gl_pack_float_rgba_func pack_float;
+ gl_pack_ubyte_rgba_func pack_ubyte = NULL;
+ gl_pack_float_rgba_func pack_float = NULL;
GLuint i;
if (datatype == GL_UNSIGNED_BYTE)