From f5ac5e20b16d17b0adda6d856829dd0cf997f7dc Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Fri, 20 Feb 2015 20:13:44 +0100 Subject: gallium/radeon: fix an uninitialized-variable warning --- src/gallium/drivers/radeon/radeon_elf_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gallium/drivers') diff --git a/src/gallium/drivers/radeon/radeon_elf_util.c b/src/gallium/drivers/radeon/radeon_elf_util.c index fd0632b7500..9b508227fd4 100644 --- a/src/gallium/drivers/radeon/radeon_elf_util.c +++ b/src/gallium/drivers/radeon/radeon_elf_util.c @@ -111,7 +111,7 @@ void radeon_elf_read(const char *elf_data, unsigned elf_size, Elf_Scn *section = NULL; Elf_Data *symbols = NULL, *relocs = NULL; size_t section_str_index; - unsigned symbol_sh_link; + unsigned symbol_sh_link = 0; /* One of the libelf implementations * (http://www.mr511.de/software/english.htm) requires calling -- cgit v1.2.3