[Mesa-dev] [shaderdb 1/2] run: fix uninitialized value
Lionel Landwerlin
lionel.g.landwerlin at intel.com
Tue Jan 8 00:17:16 UTC 2019
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
---
run.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/run.c b/run.c
index 1e415c9..f3e65a3 100644
--- a/run.c
+++ b/run.c
@@ -837,7 +837,7 @@ main(int argc, char **argv)
enum shader_type type;
unsigned num_shaders;
bool use_separate_shader_objects;
- struct binding_list *binding;
+ struct binding_list *binding = NULL;
struct shader *shader = get_shaders(&core, &compat, &es,
text, shader_test[i].filesize,
&type, &num_shaders,
--
2.20.1
More information about the mesa-dev
mailing list