From 83b344021bb872d549709dcbbc7e68e175f70bff Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Fri, 19 Dec 2014 14:26:57 -0700 Subject: meta: init var to silence uninitialized variable warning --- src/mesa/drivers/common/meta.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mesa/drivers') diff --git a/src/mesa/drivers/common/meta.c b/src/mesa/drivers/common/meta.c index 87532c1dfea..f479b1cf0a0 100644 --- a/src/mesa/drivers/common/meta.c +++ b/src/mesa/drivers/common/meta.c @@ -3177,7 +3177,7 @@ _mesa_meta_GetTexImage(struct gl_context *ctx, { if (_mesa_is_format_compressed(texImage->TexFormat)) { GLuint slice; - bool result; + bool result = true; for (slice = 0; slice < texImage->Depth; slice++) { void *dst; -- cgit v1.2.3