summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2015-02-20 20:13:44 +0100
committerMarek Olšák <[email protected]>2015-02-20 20:20:10 +0100
commitf5ac5e20b16d17b0adda6d856829dd0cf997f7dc (patch)
tree0cb06491571a2a11348cb316ba2cf04bfc7d5842 /src/gallium
parentc85a686d028a6e90f7487ac4319dae2edd40c9a0 (diff)
gallium/radeon: fix an uninitialized-variable warning
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/radeon/radeon_elf_util.c2
1 files changed, 1 insertions, 1 deletions
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