From: Marek Olšák Date: Fri, 20 Feb 2015 19:13:44 +0000 (+0100) Subject: gallium/radeon: fix an uninitialized-variable warning X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f5ac5e20b16d17b0adda6d856829dd0cf997f7dc;p=mesa.git gallium/radeon: fix an uninitialized-variable warning --- 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